Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 98.28 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3912/0.3912, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 56.16 kB / 429.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.16, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004135/0.1642, allocations: 1.764 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.166, allocations: 0.7923 MB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1662, allocations: 0 / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.1667, allocations: 43.88 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1671, allocations: 47.83 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1675, allocations: 79.83 kB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.1678, allocations: 91.7 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.168, allocations: 20.22 kB / 489.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1681, allocations: 43.72 kB / 489.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1682, allocations: 31.84 kB / 489.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1683, allocations: 4 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.1684, allocations: 39.98 kB / 490 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.1685, allocations: 23.91 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.1686, allocations: 43.61 kB / 490 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1689, allocations: 115.9 kB / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1689, allocations: 0 / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1689, allocations: 4 kB / 490.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.169, allocations: 0 / 490.2 MB, free: 9.379 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008159/0.1698, allocations: 426.8 kB / 490.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1698, allocations: 12.03 kB / 490.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.1699, allocations: 8.844 kB / 490.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.1703, allocations: 216 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1703, allocations: 4.375 kB / 490.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.1703, allocations: 8.125 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1705, allocations: 57.61 kB / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1706, allocations: 0 / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1706, allocations: 4 kB / 490.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.1706, allocations: 4 kB / 490.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.365e-05/0.1707, allocations: 15.98 kB / 490.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.1712, allocations: 292.8 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1714, allocations: 62.62 kB / 491.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.1715, allocations: 20.84 kB / 491.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1715, allocations: 0 / 491.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.1718, allocations: 67.39 kB / 491.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.1718, allocations: 0 / 491.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006734/0.1725, allocations: 177.1 kB / 491.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1726, allocations: 59.41 kB / 491.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1728, allocations: 218.7 kB / 491.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1729, allocations: 29.7 kB / 491.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.1729, allocations: 108.1 kB / 491.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.173, allocations: 23.66 kB / 491.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.173, allocations: 21.7 kB / 491.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1732, allocations: 334.7 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.1733, allocations: 20 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1734, allocations: 37.64 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1735, allocations: 65.69 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1735, allocations: 0 / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.1737, allocations: 105.4 kB / 492.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1737, allocations: 7.984 kB / 492.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1737, allocations: 3.938 kB / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1738, allocations: 8.016 kB / 492.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.1739, allocations: 16 kB / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1739, allocations: 0 / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.1739, allocations: 3.938 kB / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.174, allocations: 7.984 kB / 492.5 MB, free: 6.746 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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.0001519/0.1741, allocations: 129.8 kB / 492.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1741, allocations: 11.91 kB / 492.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.1742, allocations: 17.55 kB / 492.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1742, allocations: 4 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1742, allocations: 4 kB / 492.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1742, allocations: 3.938 kB / 492.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.1748, allocations: 403.2 kB / 493.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1748, allocations: 0 / 493.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1748, allocations: 8 kB / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1749, allocations: 0 / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.1749, allocations: 11.94 kB / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1749, allocations: 4.031 kB / 493.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1749, allocations: 0 / 493.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.1755, allocations: 0.7792 MB / 493.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.1756, allocations: 93 kB / 494 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1757, allocations: 4 kB / 494 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.1757, allocations: 4.375 kB / 494 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1758, allocations: 7.984 kB / 494 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1758, allocations: 4 kB / 494 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.176, allocations: 168.3 kB / 494.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.176, allocations: 0 / 494.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.1763, allocations: 27.98 kB / 494.2 MB, free: 4.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001266/0.1776, allocations: 473 kB / 494.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1779, allocations: 59.91 kB / 494.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1779, allocations: 0 / 494.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.178, allocations: 31.92 kB / 494.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1784, allocations: 40.3 kB / 494.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.179, allocations: 403.6 kB / 495.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1793, allocations: 0.716 MB / 495.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.1794, allocations: 17.12 kB / 495.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.1794, allocations: 23.42 kB / 496 MB, free: 3.176 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1794, allocations: 0 / 496 MB, free: 3.176 MB / 378.7 MB Notification: Performance of Templates: time 0.004362/0.1838, allocations: 1.681 MB / 497.6 MB, free: 1.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches