Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001286/0.001286, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2147/0.2147, allocations: 44.19 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.53 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004054/0.148, allocations: 2.225 MB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.15, allocations: 1.189 MB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1502, allocations: 0 / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.1507, allocations: 143.3 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.1511, allocations: 199.1 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.1518, allocations: 317.5 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.1523, allocations: 422.8 kB / 473.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.1525, allocations: 64.66 kB / 473.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.1528, allocations: 287.1 kB / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.153, allocations: 155.2 kB / 474.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.153, allocations: 16 kB / 474.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1532, allocations: 71.91 kB / 474.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1534, allocations: 147.4 kB / 474.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.1535, allocations: 198.3 kB / 474.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.154, allocations: 454.4 kB / 475.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.154, allocations: 0 / 475.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.154, allocations: 4 kB / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.154, allocations: 0 / 475.1 MB, free: 8.523 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001154/0.1552, allocations: 0.8631 MB / 476 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1552, allocations: 8.031 kB / 476 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1554, allocations: 68.09 kB / 476 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.1558, allocations: 432.2 kB / 476.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1559, allocations: 8.375 kB / 476.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.1559, allocations: 28.02 kB / 476.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1563, allocations: 192.9 kB / 476.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1564, allocations: 3.984 kB / 476.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1564, allocations: 11.98 kB / 476.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1564, allocations: 4 kB / 476.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.1566, allocations: 87.88 kB / 476.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.1575, allocations: 0.8172 MB / 477.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.1582, allocations: 246.5 kB / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.1584, allocations: 95.45 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1584, allocations: 4 kB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004394/0.1589, allocations: 206.1 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.1589, allocations: 0 / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00245/0.1613, allocations: 1.141 MB / 479.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.1614, allocations: 140.5 kB / 479.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/0.1623, allocations: 0.9221 MB / 480.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.1624, allocations: 37.7 kB / 480.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.1626, allocations: 264.9 kB / 480.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1627, allocations: 146.1 kB / 480.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1628, allocations: 78.05 kB / 480.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.163, allocations: 382.8 kB / 481.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.1632, allocations: 112.8 kB / 481.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.1635, allocations: 183.2 kB / 481.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.164, allocations: 322.6 kB / 481.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.164, allocations: 4 kB / 481.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007113/0.1647, allocations: 428.5 kB / 482.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1648, allocations: 16.11 kB / 482.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1648, allocations: 3.938 kB / 482.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1648, allocations: 4 kB / 482.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.1651, allocations: 83.91 kB / 482.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1651, allocations: 7.938 kB / 482.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.1653, allocations: 27.83 kB / 482.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1653, allocations: 16 kB / 482.4 MB, free: 0.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002629/0.1656, allocations: 248 kB / 482.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.1657, allocations: 75.14 kB / 482.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.1658, allocations: 89.44 kB / 482.8 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1658, allocations: 4 kB / 482.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.1658, allocations: 8 kB / 482.8 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1659, allocations: 7.922 kB / 482.8 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1675, allocations: 1.322 MB / 484.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1675, allocations: 8.031 kB / 484.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1677, allocations: 59.91 kB / 484.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1677, allocations: 4 kB / 484.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1677, allocations: 16 kB / 484.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1677, allocations: 4 kB / 484.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1677, allocations: 8.359 kB / 484.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.1686, allocations: 0.7926 MB / 485.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1688, allocations: 180.1 kB / 485.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.1689, allocations: 19.98 kB / 485.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.1691, allocations: 12 kB / 485.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.1693, allocations: 39.89 kB / 485.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.1693, allocations: 23.98 kB / 485.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007985/0.1701, allocations: 0.6748 MB / 486 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.667e-06/0.1702, allocations: 0 / 486 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005729/0.1707, allocations: 95.92 kB / 486.1 MB, free: 13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001513/0.1723, allocations: 0.5245 MB / 486.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.173, allocations: 348 kB / 487 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.173, allocations: 4 kB / 487 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.1733, allocations: 155.8 kB / 487.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.1743, allocations: 127.9 kB / 487.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1761, allocations: 1.18 MB / 488.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.1765, allocations: 0.9094 MB / 489.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.1768, allocations: 79.23 kB / 489.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1769, allocations: 51.42 kB / 489.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1769, allocations: 0 / 489.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of Templates: time 0.01092/0.1878, allocations: 5.388 MB / 494.8 MB, free: 4.434 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches