Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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 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 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 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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.000944, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 179.5 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4878/0.4878, allocations: 43.58 MB / 315 MB, free: 8.836 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005727/0.0005728, allocations: 16 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 58.85 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002871/0.1482, allocations: 1.418 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1506, allocations: 1.356 MB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.1507, allocations: 3.938 kB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.1511, allocations: 35.89 kB / 446.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1513, allocations: 47.83 kB / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1516, allocations: 75.84 kB / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1517, allocations: 95.69 kB / 446.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1519, allocations: 12.22 kB / 446.5 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.152, allocations: 39.73 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1522, allocations: 35.83 kB / 446.6 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1522, allocations: 4 kB / 446.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1523, allocations: 55.97 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.1524, allocations: 15.92 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.1525, allocations: 61.44 kB / 446.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1527, allocations: 119.9 kB / 446.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1527, allocations: 4 kB / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1527, allocations: 4 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1527, allocations: 0 / 446.8 MB, free: 9.273 MB / 382.1 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.0005242/0.1532, allocations: 383.2 kB / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1533, allocations: 8.031 kB / 447.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1533, allocations: 8.844 kB / 447.2 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1536, allocations: 212 kB / 447.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1536, allocations: 4.375 kB / 447.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1536, allocations: 8.109 kB / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1538, allocations: 87.31 kB / 447.5 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1538, allocations: 0 / 447.5 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1538, allocations: 3.938 kB / 447.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1539, allocations: 3.938 kB / 447.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.1539, allocations: 19.98 kB / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.1543, allocations: 280.9 kB / 447.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1545, allocations: 58.62 kB / 447.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.1545, allocations: 20.84 kB / 447.9 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1546, allocations: 4 kB / 447.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.1548, allocations: 63.39 kB / 448 MB, free: 7.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1548, allocations: 0 / 448 MB, free: 7.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.1553, allocations: 173.2 kB / 448.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.1554, allocations: 81.11 kB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1555, allocations: 150.5 kB / 448.4 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1555, allocations: 29.7 kB / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.1556, allocations: 96.05 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.1556, allocations: 27.72 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.1557, allocations: 9.719 kB / 448.5 MB, free: 7.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1558, allocations: 334.8 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.1559, allocations: 19.94 kB / 448.9 MB, free: 7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.156, allocations: 46.55 kB / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1561, allocations: 57.72 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1561, allocations: 0 / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.1563, allocations: 101.4 kB / 449.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1563, allocations: 8.062 kB / 449.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1563, allocations: 4 kB / 449.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1563, allocations: 0 / 449.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.1564, allocations: 12 kB / 449.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1564, allocations: 3.984 kB / 449.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1565, allocations: 11.94 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1565, allocations: 4 kB / 449.1 MB, free: 6.734 MB / 382.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 (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 9.519e-05/0.1566, allocations: 117.8 kB / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.1566, allocations: 11.91 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1567, allocations: 16.7 kB / 449.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1567, allocations: 4 kB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1567, allocations: 0 / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1567, allocations: 3.938 kB / 449.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1571, allocations: 387.3 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1571, allocations: 3.938 kB / 449.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1572, allocations: 12.17 kB / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1572, allocations: 4.406 kB / 449.7 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1572, allocations: 11.88 kB / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1572, allocations: 4 kB / 449.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1572, allocations: 0 / 449.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.1574, allocations: 204.5 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.1575, allocations: 93 kB / 450 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1575, allocations: 3.938 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.1576, allocations: 8 kB / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1577, allocations: 7.984 kB / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1577, allocations: 8 kB / 450 MB, free: 5.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.576e-05/0.1578, allocations: 118.7 kB / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1578, allocations: 0 / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.158, allocations: 28 kB / 450.1 MB, free: 5.609 MB / 382.1 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.001106/0.1592, allocations: 0.5039 MB / 450.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1593, allocations: 59.92 kB / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1594, allocations: 4.062 kB / 450.7 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.1594, allocations: 31.92 kB / 450.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1598, allocations: 23.98 kB / 450.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.1602, allocations: 218.1 kB / 451 MB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1605, allocations: 0.6926 MB / 451.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.1605, allocations: 21.17 kB / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.1606, allocations: 19.42 kB / 451.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1606, allocations: 0 / 451.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of Templates: time 0.004519/0.1651, allocations: 1.874 MB / 453.6 MB, free: 2.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches