Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, 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.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 8.465 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.00109/0.001089, allocations: 100.1 kB / 269.9 MB, free: 8.426 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.4292/0.4292, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 55.92 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.155, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.004054/0.1591, allocations: 1.76 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1608, allocations: 0.7807 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.161, allocations: 0 / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.1614, allocations: 39.83 kB / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1617, allocations: 47.83 kB / 489.6 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1621, allocations: 75.84 kB / 489.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1623, allocations: 91.7 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1624, allocations: 12.2 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1625, allocations: 39.78 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.1626, allocations: 27.86 kB / 489.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1627, allocations: 8 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1628, allocations: 47.91 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.1629, allocations: 19.92 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.163, allocations: 31.75 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1632, allocations: 107.9 kB / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1632, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1632, allocations: 0 / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1632, allocations: 0 / 490.1 MB, free: 9.43 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.0006376/0.1639, allocations: 415 kB / 490.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.164, allocations: 12.03 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.164, allocations: 8.844 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1643, allocations: 216 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1643, allocations: 384 / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.1644, allocations: 16.11 kB / 490.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1646, allocations: 53.67 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1646, allocations: 0 / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1646, allocations: 7.938 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1646, allocations: 0 / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.1647, allocations: 23.92 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1652, allocations: 288.8 kB / 491.1 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1654, allocations: 54.67 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1654, allocations: 20.86 kB / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.1655, allocations: 7.984 kB / 491.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.1657, allocations: 67.3 kB / 491.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1657, allocations: 3.938 kB / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006061/0.1664, allocations: 161.4 kB / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1664, allocations: 55.39 kB / 491.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1666, allocations: 190.1 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1666, allocations: 25.7 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.1667, allocations: 108.1 kB / 491.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1668, allocations: 23.7 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.1668, allocations: 29.7 kB / 491.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.167, allocations: 326.8 kB / 492.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.1671, allocations: 19.98 kB / 492.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.1671, allocations: 33.7 kB / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1673, allocations: 57.72 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1673, allocations: 3.938 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.1675, allocations: 101.6 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1675, allocations: 4 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1675, allocations: 0 / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1675, allocations: 4 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.1676, allocations: 15.94 kB / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1677, allocations: 160 / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.1677, allocations: 11.92 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1677, allocations: 8.016 kB / 492.4 MB, free: 6.863 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.0001206/0.1679, allocations: 125.8 kB / 492.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1679, allocations: 7.906 kB / 492.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.1679, allocations: 16.7 kB / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.168, allocations: 384 / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.168, allocations: 4 kB / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.168, allocations: 3.938 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.1685, allocations: 399.2 kB / 493 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1685, allocations: 3.938 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.1686, allocations: 11.98 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1686, allocations: 192 / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1686, allocations: 7.938 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1686, allocations: 3.938 kB / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1686, allocations: 0 / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.1692, allocations: 0.791 MB / 493.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1693, allocations: 85.02 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1693, allocations: 0 / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.1694, allocations: 7.984 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1694, allocations: 0 / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1694, allocations: 8 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.1696, allocations: 148 kB / 494 MB, free: 5.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1696, allocations: 4 kB / 494 MB, free: 5.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.1699, allocations: 23.91 kB / 494.1 MB, free: 5.086 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.001126/0.1711, allocations: 473.1 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1713, allocations: 67.84 kB / 494.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1713, allocations: 0 / 494.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.1714, allocations: 31.98 kB / 494.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1718, allocations: 19.98 kB / 494.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.1724, allocations: 376 kB / 495 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1727, allocations: 0.7004 MB / 495.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.1728, allocations: 25.17 kB / 495.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.1728, allocations: 11.44 kB / 495.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1729, allocations: 4 kB / 495.7 MB, free: 3.375 MB / 378.7 MB Notification: Performance of Templates: time 0.004646/0.1775, allocations: 1.673 MB / 497.4 MB, free: 1.711 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches