Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009763, allocations: 96.86 kB / 15.7 MB, free: 468 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.001309/0.001309, allocations: 175 kB / 16.58 MB, free: 6.02 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.054/2.054, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.4222/0.4222, allocations: 43.57 MB / 314.6 MB, free: 8.766 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.0005602/0.0005604, allocations: 16 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.152, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00241/0.1545, allocations: 1.383 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1557, allocations: 0.7539 MB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.1558, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.1562, allocations: 39.83 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1564, allocations: 43.84 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1567, allocations: 75.77 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1569, allocations: 79.77 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1571, allocations: 24.12 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1572, allocations: 39.84 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.1573, allocations: 23.86 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1573, allocations: 7.938 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1574, allocations: 39.97 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.1575, allocations: 15.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.1576, allocations: 37.7 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1578, allocations: 84.03 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1578, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.1578, allocations: 4 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1578, allocations: 4 kB / 445.5 MB, free: 10.34 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.0006789/0.1585, allocations: 402.8 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1586, allocations: 16 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.1586, allocations: 7.906 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1589, allocations: 199.6 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1589, allocations: 4 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.159, allocations: 3.984 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1591, allocations: 61.61 kB / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1592, allocations: 3.906 kB / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1592, allocations: 4 kB / 446.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1592, allocations: 3.953 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.1593, allocations: 15.98 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.1598, allocations: 288.9 kB / 446.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.16, allocations: 62.62 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.16, allocations: 20.84 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1601, allocations: 0 / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1603, allocations: 67.34 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1603, allocations: 0 / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006766/0.161, allocations: 173.1 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1611, allocations: 63.41 kB / 446.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1613, allocations: 191.3 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1613, allocations: 25.7 kB / 447.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.1614, allocations: 104.1 kB / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1615, allocations: 23.7 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.1615, allocations: 0 / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1616, allocations: 326.8 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.1617, allocations: 16 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.1618, allocations: 41.64 kB / 447.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.1618, allocations: 20 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1619, allocations: 7.984 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001811/0.162, allocations: 105.8 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1621, allocations: 4 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1621, allocations: 3.938 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1621, allocations: 4 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1622, allocations: 27.95 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1622, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.1623, allocations: 4 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1623, allocations: 8 kB / 447.7 MB, free: 7.855 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.1624, allocations: 125.8 kB / 447.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.1625, allocations: 11.86 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.1625, allocations: 17.41 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1625, allocations: 0 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1625, allocations: 0 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1625, allocations: 7.984 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.163, allocations: 399.2 kB / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.163, allocations: 0 / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.163, allocations: 8 kB / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.163, allocations: 3.984 kB / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.163, allocations: 12.12 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.163, allocations: 0 / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.163, allocations: 3.938 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1633, allocations: 200.3 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1633, allocations: 92.97 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1633, allocations: 0 / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1634, allocations: 7.984 kB / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1635, allocations: 4 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.1635, allocations: 8 kB / 448.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1636, allocations: 152.9 kB / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1636, allocations: 0 / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1639, allocations: 31.89 kB / 448.8 MB, free: 6.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.165, allocations: 468.3 kB / 449.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.1652, allocations: 47.98 kB / 449.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1652, allocations: 4 kB / 449.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.1653, allocations: 31.92 kB / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1656, allocations: 23.97 kB / 449.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.1661, allocations: 250.5 kB / 449.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1665, allocations: 0.7004 MB / 450.3 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.1666, allocations: 20.88 kB / 450.3 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1666, allocations: 15.44 kB / 450.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.1666, allocations: 0 / 450.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of Templates: time 0.004566/0.1712, allocations: 1.599 MB / 451.9 MB, free: 3.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches