Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 104.8 kB / 15.98 MB, free: 6.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 192 kB / 16.9 MB, free: 6.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 222.8 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4144/0.4144, allocations: 43.5 MB / 313.6 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.12 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1635, allocations: 57.8 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003284/0.1669, allocations: 1.66 MB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.1675, allocations: 347.6 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.1676, allocations: 4 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.1682, allocations: 443.2 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1686, allocations: 259.5 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.169, allocations: 135.8 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1692, allocations: 167.7 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1693, allocations: 28.38 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1694, allocations: 111.8 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1697, allocations: 215.6 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1697, allocations: 4 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.1698, allocations: 31.98 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1699, allocations: 91.61 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.17, allocations: 99 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1703, allocations: 263 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1703, allocations: 0 / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1703, allocations: 0 / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1703, allocations: 0 / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000792/0.1711, allocations: 0.6336 MB / 444.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1712, allocations: 15.89 kB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.1712, allocations: 30.75 kB / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.1713, allocations: 48.38 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1716, allocations: 296.1 kB / 444.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1716, allocations: 4.375 kB / 444.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1716, allocations: 8.125 kB / 444.9 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1718, allocations: 61.66 kB / 445 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1718, allocations: 0 / 445 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1718, allocations: 0 / 445 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1718, allocations: 0 / 445 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1719, allocations: 27.97 kB / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.1724, allocations: 416.5 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1727, allocations: 38.56 kB / 445.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1727, allocations: 20.94 kB / 445.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1727, allocations: 0 / 445.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1728, allocations: 34.56 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1728, allocations: 4 kB / 445.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006115/0.1734, allocations: 224 kB / 445.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1734, allocations: 51.41 kB / 445.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/0.1742, allocations: 0.8691 MB / 446.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1742, allocations: 29.69 kB / 446.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1744, allocations: 228 kB / 446.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1744, allocations: 15.75 kB / 446.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1745, allocations: 21.72 kB / 447 MB, free: 7.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1746, allocations: 358.8 kB / 447.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.1747, allocations: 23.92 kB / 447.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.1748, allocations: 23.92 kB / 447.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1749, allocations: 60.81 kB / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1749, allocations: 0 / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.1751, allocations: 121.3 kB / 447.5 MB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1751, allocations: 4 kB / 447.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.1751, allocations: 0 / 447.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1752, allocations: 4 kB / 447.5 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.1752, allocations: 15.92 kB / 447.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1752, allocations: 3.938 kB / 447.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.1753, allocations: 12 kB / 447.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1753, allocations: 0 / 447.6 MB, free: 6.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.1755, allocations: 217.8 kB / 447.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.1756, allocations: 39.44 kB / 447.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.1758, allocations: 141.1 kB / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1759, allocations: 0 / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1759, allocations: 7.938 kB / 448 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1759, allocations: 0 / 448 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.1764, allocations: 470.5 kB / 448.4 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1764, allocations: 0 / 448.4 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.1765, allocations: 15.98 kB / 448.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1765, allocations: 4.219 kB / 448.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1765, allocations: 0 / 448.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1765, allocations: 0 / 448.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1765, allocations: 4 kB / 448.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1768, allocations: 219.1 kB / 448.7 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.1769, allocations: 116.5 kB / 448.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1769, allocations: 15.98 kB / 448.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.177, allocations: 4 kB / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.177, allocations: 0 / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.177, allocations: 8 kB / 448.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005593/0.1776, allocations: 0.655 MB / 449.5 MB, free: 4.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 0 / 449.5 MB, free: 4.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1779, allocations: 24 kB / 449.5 MB, free: 4.863 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.1792, allocations: 1.051 MB / 450.5 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1795, allocations: 59.95 kB / 450.6 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1795, allocations: 0 / 450.6 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.1796, allocations: 27.98 kB / 450.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.18, allocations: 30.16 kB / 450.7 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.1837, allocations: 3.341 MB / 454 MB, free: 272 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2221/0.4058, allocations: 0.8267 MB / 454.8 MB, free: 48.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.4059, allocations: 12.69 kB / 454.8 MB, free: 48.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.4061, allocations: 113.5 kB / 454.9 MB, free: 48.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4061, allocations: 2.406 kB / 454.9 MB, free: 48.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.4231, allocations: 5.78 MB / 460.7 MB, free: 48.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.4233, allocations: 232.2 kB / 461 MB, free: 47.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.238, allocations: 3.938 kB / 461 MB, free: 47.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches