Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001042/0.001042, allocations: 194 kB / 18.12 MB, free: 5.363 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.405/1.405, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 44.17 MB / 336.1 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 60.31 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003763/0.1413, allocations: 1.691 MB / 470.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.1423, allocations: 463.1 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.1424, allocations: 0 / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.143, allocations: 455.2 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1434, allocations: 243.5 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.1438, allocations: 161.7 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1441, allocations: 171.6 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1442, allocations: 23.98 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1444, allocations: 103.7 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.1446, allocations: 207.6 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1446, allocations: 4 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1448, allocations: 47.95 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1449, allocations: 83.69 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.145, allocations: 103 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.1453, allocations: 263.3 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1453, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1453, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1453, allocations: 0 / 472.5 MB, free: 10.86 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.0007838/0.1461, allocations: 0.6553 MB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1462, allocations: 12.03 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.1462, allocations: 36.47 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.1467, allocations: 300.1 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1468, allocations: 384 / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1468, allocations: 8.375 kB / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.147, allocations: 69.73 kB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.147, allocations: 0 / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.147, allocations: 0 / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.147, allocations: 8 kB / 473.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1472, allocations: 43.95 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007815/0.148, allocations: 412.6 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1483, allocations: 62.55 kB / 474.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.1483, allocations: 24.97 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1484, allocations: 7.984 kB / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1484, allocations: 34.56 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.542e-06/0.1484, allocations: 0 / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.15, allocations: 0.496 MB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.15, allocations: 59.28 kB / 474.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/0.1509, allocations: 0.8613 MB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1509, allocations: 25.7 kB / 475.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1511, allocations: 216 kB / 475.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.1511, allocations: 35.45 kB / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.1512, allocations: 29.7 kB / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1513, allocations: 358.8 kB / 476.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1515, allocations: 59.95 kB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1516, allocations: 51.95 kB / 476.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.1519, allocations: 120.8 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1519, allocations: 4 kB / 476.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003635/0.1522, allocations: 201.2 kB / 476.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1523, allocations: 4 kB / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1523, allocations: 0 / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1523, allocations: 0 / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1524, allocations: 27.92 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1524, allocations: 3.984 kB / 476.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.1525, allocations: 12 kB / 476.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1525, allocations: 4 kB / 476.7 MB, free: 6.438 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.0001938/0.1527, allocations: 218.3 kB / 476.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.1528, allocations: 43.44 kB / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.1532, allocations: 233.3 kB / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1532, allocations: 7.938 kB / 477.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1533, allocations: 0 / 477.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1533, allocations: 0 / 477.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.1541, allocations: 0.5975 MB / 477.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1541, allocations: 4.062 kB / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.1542, allocations: 27.98 kB / 477.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1542, allocations: 0 / 477.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1542, allocations: 3.984 kB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1542, allocations: 4 kB / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1542, allocations: 0 / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.1547, allocations: 296.6 kB / 478.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.1548, allocations: 120.5 kB / 478.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1548, allocations: 4 kB / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1549, allocations: 12.08 kB / 478.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.155, allocations: 12.11 kB / 478.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.155, allocations: 16 kB / 478.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005761/0.1556, allocations: 0.6394 MB / 478.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1556, allocations: 0 / 478.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1559, allocations: 32 kB / 478.9 MB, free: 4.066 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.001056/0.157, allocations: 451.4 kB / 479.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.1573, allocations: 131.8 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1573, allocations: 0 / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1575, allocations: 71.89 kB / 479.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1579, allocations: 37.67 kB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1591, allocations: 0.9511 MB / 480.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1595, allocations: 0.8379 MB / 481.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.1596, allocations: 36.38 kB / 481.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1597, allocations: 19.44 kB / 481.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1597, allocations: 0 / 481.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Templates: time 0.005267/0.1649, allocations: 1.814 MB / 483.3 MB, free: 15.85 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches