Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 91.73 kB / 17.35 MB, free: 6.027 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.00119/0.00119, allocations: 178.5 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.2 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005779/0.0005779, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1503, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001859/0.1522, allocations: 1.349 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007538/0.1529, allocations: 419.3 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.153, allocations: 0 / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.1535, allocations: 451.2 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.1539, allocations: 243.5 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1543, allocations: 119.8 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1545, allocations: 159.7 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1546, allocations: 19.97 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1547, allocations: 103.7 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.155, allocations: 199.6 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.155, allocations: 4 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1551, allocations: 51.91 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1552, allocations: 87.62 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1554, allocations: 120.8 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1557, allocations: 262.9 kB / 475.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1557, allocations: 3.938 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1557, allocations: 0 / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.1557, allocations: 0 / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007025/0.1564, allocations: 0.6053 MB / 476.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1564, allocations: 8.031 kB / 476.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1565, allocations: 44.38 kB / 476.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1568, allocations: 292.2 kB / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1568, allocations: 384 / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1568, allocations: 8.281 kB / 476.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.1571, allocations: 73.8 kB / 476.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1571, allocations: 11.92 kB / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1571, allocations: 0 / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1572, allocations: 0 / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1573, allocations: 39.97 kB / 476.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1578, allocations: 396.7 kB / 477.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.158, allocations: 62.58 kB / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1581, allocations: 32.97 kB / 477.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1582, allocations: 0 / 477.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1582, allocations: 34.56 kB / 477.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1582, allocations: 0 / 477.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00158/0.1598, allocations: 0.535 MB / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1598, allocations: 63.28 kB / 478 MB, free: 7.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.1607, allocations: 0.8496 MB / 478.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1607, allocations: 29.7 kB / 478.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.1609, allocations: 215.9 kB / 479.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.161, allocations: 31.55 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.161, allocations: 21.72 kB / 479.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1612, allocations: 362.8 kB / 479.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1614, allocations: 47.97 kB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1615, allocations: 47.97 kB / 479.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.1618, allocations: 121.1 kB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1618, allocations: 0 / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003749/0.1622, allocations: 193 kB / 479.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1622, allocations: 7.938 kB / 479.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1622, allocations: 4 kB / 479.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1622, allocations: 0 / 479.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1624, allocations: 39.86 kB / 479.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1624, allocations: 3.984 kB / 479.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.1625, allocations: 11.98 kB / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1625, allocations: 8 kB / 480 MB, free: 5.398 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0002014/0.1627, allocations: 214.3 kB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.1628, allocations: 43.44 kB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.1632, allocations: 221.3 kB / 480.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1632, allocations: 7.938 kB / 480.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1632, allocations: 0 / 480.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1632, allocations: 0 / 480.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.1641, allocations: 0.578 MB / 481 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1641, allocations: 0 / 481 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1642, allocations: 36.03 kB / 481 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1642, allocations: 4 kB / 481.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1643, allocations: 0 / 481.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1643, allocations: 4 kB / 481.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1643, allocations: 0 / 481.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.1648, allocations: 300.5 kB / 481.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.1649, allocations: 112.6 kB / 481.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1649, allocations: 8 kB / 481.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1651, allocations: 15.98 kB / 481.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1651, allocations: 7.984 kB / 481.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1651, allocations: 8 kB / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006198/0.1658, allocations: 0.6394 MB / 482.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1658, allocations: 0 / 482.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.1661, allocations: 36 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001089/0.1672, allocations: 459.4 kB / 482.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.1676, allocations: 127.8 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1676, allocations: 0 / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1677, allocations: 72.03 kB / 482.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.1682, allocations: 29.89 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1696, allocations: 0.929 MB / 483.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.1701, allocations: 0.838 MB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.481e-05/0.1702, allocations: 12.41 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.1703, allocations: 15.44 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1703, allocations: 4 kB / 484.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Templates: time 0.005591/0.1759, allocations: 1.681 MB / 486.3 MB, free: 15.04 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches