Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, 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.001556/0.001556, 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.398/1.398, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2278/0.2278, allocations: 44.17 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 68.52 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1427, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004228/0.1469, allocations: 1.935 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.149, allocations: 0.9783 MB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.1492, allocations: 0 / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.1497, allocations: 155.6 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.1501, allocations: 123.6 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.1506, allocations: 166.7 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.151, allocations: 215.4 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1511, allocations: 21.67 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.1513, allocations: 103.5 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1515, allocations: 127.6 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1516, allocations: 4 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1517, allocations: 55.97 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1518, allocations: 51.77 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/0.1519, allocations: 75.42 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.1523, allocations: 211.5 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1523, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1523, allocations: 4 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1523, allocations: 0 / 472.7 MB, free: 10.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008459/0.1531, allocations: 0.5177 MB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1532, allocations: 15.97 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.1533, allocations: 24.64 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1536, allocations: 267.6 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1537, allocations: 384 / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.1537, allocations: 16.12 kB / 473.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.154, allocations: 118.5 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.154, allocations: 3.984 kB / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.154, allocations: 0 / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1541, allocations: 4 kB / 473.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1542, allocations: 51.94 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.1548, allocations: 464.7 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.1552, allocations: 117.2 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1553, allocations: 45.77 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.1554, allocations: 12 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.1557, allocations: 113.2 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1557, allocations: 4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0013/0.157, allocations: 493 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1571, allocations: 81.11 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1574, allocations: 355 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1575, allocations: 33.7 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1576, allocations: 144.5 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.1576, allocations: 67.11 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.1577, allocations: 41.7 kB / 475.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1578, allocations: 342.8 kB / 476 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.158, allocations: 59.92 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1581, allocations: 95.33 kB / 476.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.1584, allocations: 155.3 kB / 476.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1584, allocations: 4 kB / 476.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003908/0.1588, allocations: 237.1 kB / 476.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1588, allocations: 14.28 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1588, allocations: 0 / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1589, allocations: 4 kB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.159, allocations: 35.98 kB / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.159, allocations: 7.938 kB / 476.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.1591, allocations: 11.98 kB / 476.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1591, allocations: 4 kB / 476.6 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001647/0.1593, allocations: 162.4 kB / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1593, allocations: 31.56 kB / 476.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.1594, allocations: 33.73 kB / 476.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1594, allocations: 4 kB / 476.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1594, allocations: 3.984 kB / 476.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1595, allocations: 0 / 476.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008891/0.1604, allocations: 0.7232 MB / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1604, allocations: 4 kB / 477.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.1604, allocations: 27.94 kB / 477.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1605, allocations: 0 / 477.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.1605, allocations: 11.98 kB / 477.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1605, allocations: 4.125 kB / 477.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1605, allocations: 8 kB / 477.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.161, allocations: 409.7 kB / 478 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1611, allocations: 101 kB / 478.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.1612, allocations: 8 kB / 478.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1613, allocations: 19.86 kB / 478.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.1614, allocations: 27.91 kB / 478.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1614, allocations: 11.98 kB / 478.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.1617, allocations: 257.9 kB / 478.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 0 / 478.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000356/0.162, allocations: 55.89 kB / 478.5 MB, free: 4.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001262/0.1633, allocations: 0.5166 MB / 479 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.1637, allocations: 159.8 kB / 479.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1637, allocations: 4 kB / 479.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1638, allocations: 75.84 kB / 479.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.1644, allocations: 66.98 kB / 479.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.1652, allocations: 0.539 MB / 479.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1656, allocations: 0.7638 MB / 480.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1657, allocations: 33.94 kB / 480.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.1658, allocations: 35.42 kB / 480.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1658, allocations: 0 / 480.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Templates: time 0.006407/0.1722, allocations: 2.946 MB / 483.6 MB, free: 15.46 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches