Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001483/0.001483, allocations: 123.1 kB / 18.46 MB, free: 4.578 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.001676/0.001676, allocations: 215.2 kB / 21.42 MB, free: 1.625 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2236/0.2236, allocations: 46.92 MB / 357.8 MB, free: 10.27 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 79.88 kB / 0.4922 GB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1381, allocations: 65.99 MB / 0.5566 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00398/0.1421, allocations: 1.939 MB / 0.5585 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1443, allocations: 1.127 MB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1444, allocations: 7.938 kB / 0.5596 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.1449, allocations: 163.5 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.1454, allocations: 187.3 kB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1457, allocations: 111.6 kB / 0.5601 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.1461, allocations: 247.3 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1462, allocations: 25.66 kB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1464, allocations: 115.5 kB / 0.5604 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1466, allocations: 135.5 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.1467, allocations: 12 kB / 0.5606 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1468, allocations: 67.92 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.1469, allocations: 59.75 kB / 0.5607 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.952e-05/0.147, allocations: 79.36 kB / 0.5608 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.1474, allocations: 234.9 kB / 0.561 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1474, allocations: 0 / 0.561 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1474, allocations: 0 / 0.561 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1474, allocations: 0 / 0.561 GB, free: 0.6758 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008386/0.1482, allocations: 0.5368 MB / 0.5615 GB, free: 92 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1483, allocations: 12.03 kB / 0.5615 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.1483, allocations: 36.75 kB / 0.5616 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.1488, allocations: 279.7 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1488, allocations: 384 / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1488, allocations: 20.06 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.1491, allocations: 105 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1491, allocations: 4 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1491, allocations: 0 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1491, allocations: 11.94 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1493, allocations: 55.88 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.1499, allocations: 460.8 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.1504, allocations: 121.2 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1505, allocations: 41.81 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1505, allocations: 160 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.1507, allocations: 121 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.1507, allocations: 4 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001391/0.1521, allocations: 0.4898 MB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.1522, allocations: 89.09 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.1526, allocations: 367.3 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1526, allocations: 33.7 kB / 0.5637 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1528, allocations: 152.5 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.1528, allocations: 67.39 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/0.1529, allocations: 41.7 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1531, allocations: 350.8 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1532, allocations: 51.92 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1534, allocations: 97.52 kB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1537, allocations: 159.5 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1537, allocations: 0 / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000423/0.1541, allocations: 233.3 kB / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1541, allocations: 7.938 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1541, allocations: 0 / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1542, allocations: 4.062 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1543, allocations: 47.92 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1543, allocations: 4 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.1544, allocations: 11.98 kB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1544, allocations: 8 kB / 0.5649 GB, free: 12.43 MB / 430.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.0001634/0.1546, allocations: 161.7 kB / 0.565 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.1546, allocations: 35.73 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.1547, allocations: 37.83 kB / 0.5651 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1547, allocations: 0 / 0.5651 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1547, allocations: 8 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1547, allocations: 0 / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009472/0.1557, allocations: 0.7193 MB / 0.5658 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.1557, allocations: 4 kB / 0.5658 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.1558, allocations: 32.11 kB / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1558, allocations: 4 kB / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1558, allocations: 7.984 kB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1558, allocations: 4 kB / 0.5658 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1558, allocations: 3.938 kB / 0.5658 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1563, allocations: 429.5 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.1564, allocations: 100.9 kB / 0.5663 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.1564, allocations: 8 kB / 0.5664 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1566, allocations: 7.984 kB / 0.5664 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.1566, allocations: 23.86 kB / 0.5664 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1567, allocations: 8 kB / 0.5664 GB, free: 10.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.1569, allocations: 285.9 kB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1569, allocations: 0 / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1573, allocations: 47.94 kB / 0.5667 GB, free: 10.4 MB / 430.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.001962/0.1593, allocations: 0.5162 MB / 0.5672 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.1596, allocations: 147.8 kB / 0.5674 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1597, allocations: 4.125 kB / 0.5674 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.1598, allocations: 71.84 kB / 0.5674 GB, free: 9.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.1604, allocations: 60.2 kB / 0.5675 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009455/0.1613, allocations: 0.5453 MB / 0.568 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.1618, allocations: 0.7635 MB / 0.5688 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.1619, allocations: 35.42 kB / 0.5688 GB, free: 8.395 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1619, allocations: 0 / 0.5688 GB, free: 8.395 MB / 430.1 MB Notification: Performance of Templates: time 0.006422/0.1683, allocations: 3.619 MB / 0.5723 GB, free: 4.785 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.130274265975459]