Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 116 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 208.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.89 kB / 0.4922 GB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1417, allocations: 65.99 MB / 0.5566 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004144/0.1458, allocations: 1.774 MB / 0.5583 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.148, allocations: 1.04 MB / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1481, allocations: 4 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.1486, allocations: 107.6 kB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.1491, allocations: 127.5 kB / 0.5596 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1494, allocations: 79.67 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.1497, allocations: 139.6 kB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1498, allocations: 21.38 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.15, allocations: 55.78 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1501, allocations: 83.72 kB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.1502, allocations: 8 kB / 0.56 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1503, allocations: 63.97 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.1504, allocations: 35.84 kB / 0.5601 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.1505, allocations: 47.56 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.1508, allocations: 163.3 kB / 0.5603 GB, free: 1.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1508, allocations: 4 kB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1508, allocations: 3.938 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1508, allocations: 0 / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008223/0.1517, allocations: 470.3 kB / 0.5607 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.1517, allocations: 8.031 kB / 0.5607 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.1518, allocations: 16.84 kB / 0.5607 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.1522, allocations: 233 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1522, allocations: 4.375 kB / 0.561 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.1522, allocations: 8.125 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1525, allocations: 73.59 kB / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1525, allocations: 3.953 kB / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1525, allocations: 4 kB / 0.561 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1525, allocations: 4 kB / 0.5611 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1526, allocations: 39.97 kB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.1532, allocations: 332.7 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1535, allocations: 70.55 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.1535, allocations: 21 kB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1536, allocations: 11.98 kB / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.1537, allocations: 75.33 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1537, allocations: 0 / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.001027/0.1548, allocations: 305.7 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.1548, allocations: 51.41 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.1551, allocations: 263.7 kB / 0.5622 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1552, allocations: 33.7 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.1553, allocations: 112.1 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/0.1553, allocations: 47.64 kB / 0.5624 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.1554, allocations: 33.89 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.1556, allocations: 326.8 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.1557, allocations: 39.92 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1558, allocations: 61.62 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.156, allocations: 109.7 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.156, allocations: 0 / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003075/0.1563, allocations: 161.4 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1563, allocations: 5.719 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.1563, allocations: 3.984 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1564, allocations: 7.938 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1565, allocations: 27.92 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1565, allocations: 112 / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.1565, allocations: 15.97 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1566, allocations: 4 kB / 0.5631 GB, free: 14.34 MB / 430.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001335/0.1567, allocations: 136 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1567, allocations: 23.84 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.1568, allocations: 21.53 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1568, allocations: 7.938 kB / 0.5633 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1568, allocations: 0 / 0.5633 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1568, allocations: 3.984 kB / 0.5633 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.1576, allocations: 0.4999 MB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1576, allocations: 0 / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.1577, allocations: 19.98 kB / 0.5638 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1577, allocations: 4 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1577, allocations: 0 / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1577, allocations: 8 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1577, allocations: 3.938 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.1581, allocations: 265.1 kB / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1582, allocations: 93.02 kB / 0.5642 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.1582, allocations: 7.922 kB / 0.5642 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.1583, allocations: 8 kB / 0.5642 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.1583, allocations: 11.98 kB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1584, allocations: 8 kB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1586, allocations: 197.5 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1586, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.1589, allocations: 35.92 kB / 0.5644 GB, free: 12.89 MB / 430.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002014/0.1609, allocations: 0.5064 MB / 0.5649 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1612, allocations: 106.8 kB / 0.565 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1612, allocations: 64 / 0.565 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1613, allocations: 51.92 kB / 0.5651 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1617, allocations: 34.8 kB / 0.5651 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.1625, allocations: 370.1 kB / 0.5655 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1629, allocations: 0.7241 MB / 0.5662 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.1629, allocations: 27.42 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1629, allocations: 0 / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of Templates: time 0.006217/0.1691, allocations: 2.526 MB / 0.5687 GB, free: 8.715 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.076908167015063]