Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 98.62 kB / 17 MB, free: 6.402 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.001057/0.001057, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.609/1.609, allocations: 223.3 MB / 241.9 MB, free: 312 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.2092/0.2092, allocations: 44.24 MB / 337.3 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002125/0.142, allocations: 1.406 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1433, allocations: 0.7997 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.1433, allocations: 7.938 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1436, allocations: 39.89 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1438, allocations: 51.81 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1441, allocations: 98.77 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1443, allocations: 107.7 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.1444, allocations: 11.98 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.1445, allocations: 39.84 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.1446, allocations: 47.77 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1446, allocations: 4 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1448, allocations: 47.97 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1448, allocations: 27.92 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.1449, allocations: 37.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.145, allocations: 104.1 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.145, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1451, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1451, allocations: 0 / 474.4 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005551/0.1456, allocations: 429 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1457, allocations: 8.562 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1457, allocations: 7.906 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.146, allocations: 223.5 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.146, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1461, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1462, allocations: 81.59 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1463, allocations: 0 / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1463, allocations: 0 / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1463, allocations: 0 / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1464, allocations: 43.91 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1469, allocations: 324.7 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.1472, allocations: 90.52 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.1473, allocations: 28.84 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.1473, allocations: 4 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.1477, allocations: 79.38 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.1477, allocations: 4 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009437/0.1487, allocations: 293.7 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1487, allocations: 51.69 kB / 476.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.149, allocations: 183.3 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.149, allocations: 29.7 kB / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.1491, allocations: 108.3 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.1492, allocations: 43.39 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.1492, allocations: 4 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1493, allocations: 334.8 kB / 476.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.1494, allocations: 35.98 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1495, allocations: 53.7 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/0.1496, allocations: 43.92 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1497, allocations: 0 / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002598/0.1499, allocations: 160.6 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.15, allocations: 4 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.15, allocations: 0 / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.15, allocations: 4 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.1501, allocations: 27.92 kB / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1501, allocations: 0 / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.1502, allocations: 8 kB / 477.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1502, allocations: 4 kB / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.1503, allocations: 129.8 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1504, allocations: 19.81 kB / 477.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.1504, allocations: 29.5 kB / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1504, allocations: 0 / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1505, allocations: 0 / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1505, allocations: 0 / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.1511, allocations: 488 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1511, allocations: 4.062 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.1512, allocations: 19.98 kB / 477.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1512, allocations: 0 / 477.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1512, allocations: 4 kB / 477.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1512, allocations: 0 / 477.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1512, allocations: 3.938 kB / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1515, allocations: 257 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.1515, allocations: 92.91 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1516, allocations: 8 kB / 478.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1517, allocations: 4 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1517, allocations: 15.94 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.1517, allocations: 8 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1518, allocations: 140.9 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1518, allocations: 0 / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1521, allocations: 35.98 kB / 478.3 MB, free: 6.621 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/0.1533, allocations: 0.5197 MB / 478.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1535, allocations: 95.91 kB / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1535, allocations: 0 / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.877e-05/0.1536, allocations: 59.84 kB / 479 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.154, allocations: 27.92 kB / 479 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.1545, allocations: 287.9 kB / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.155, allocations: 0.7165 MB / 480 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.943e-05/0.155, allocations: 25.41 kB / 480 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.1551, allocations: 23.42 kB / 480.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1551, allocations: 0 / 480.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of Templates: time 0.005119/0.1602, allocations: 1.988 MB / 482.1 MB, free: 3.059 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches