Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, 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.569/1.569, 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.001193/0.001193, allocations: 104.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.4732/0.4732, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1532, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003782/0.1571, allocations: 1.767 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1585, allocations: 0.7807 MB / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.1586, allocations: 7.938 kB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.1589, allocations: 31.83 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1592, allocations: 47.83 kB / 489.6 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1594, allocations: 79.78 kB / 489.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1596, allocations: 95.69 kB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1597, allocations: 16.2 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.1598, allocations: 39.8 kB / 489.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.1599, allocations: 31.8 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1599, allocations: 4 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.16, allocations: 43.97 kB / 490 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.1601, allocations: 11.92 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.1601, allocations: 35.73 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1603, allocations: 111.9 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1604, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1604, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1604, allocations: 0 / 490.1 MB, free: 9.426 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.0005488/0.1609, allocations: 418.9 kB / 490.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.161, allocations: 12.02 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.161, allocations: 8.844 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1613, allocations: 208 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1613, allocations: 4.375 kB / 490.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1613, allocations: 12.11 kB / 490.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1615, allocations: 53.67 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1615, allocations: 7.922 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1615, allocations: 4 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1615, allocations: 0 / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.1616, allocations: 23.92 kB / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.162, allocations: 280.9 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1621, allocations: 54.69 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.1622, allocations: 24.84 kB / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1622, allocations: 0 / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1624, allocations: 75.23 kB / 491.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1624, allocations: 0 / 491.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005338/0.163, allocations: 165.3 kB / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.163, allocations: 51.41 kB / 491.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1632, allocations: 194.1 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1632, allocations: 25.7 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.1633, allocations: 100.1 kB / 491.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1634, allocations: 27.69 kB / 491.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1634, allocations: 25.72 kB / 491.8 MB, free: 7.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1635, allocations: 326.8 kB / 492.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.1636, allocations: 20.36 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.1637, allocations: 45.64 kB / 492.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1638, allocations: 57.64 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1638, allocations: 4 kB / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.164, allocations: 105.6 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.164, allocations: 4 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.164, allocations: 0 / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.164, allocations: 0 / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.1641, allocations: 19.98 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1641, allocations: 4.031 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.1642, allocations: 7.938 kB / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1642, allocations: 0 / 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.0001053/0.1643, allocations: 125.8 kB / 492.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1643, allocations: 11.91 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.1644, allocations: 12.72 kB / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1644, allocations: 0 / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1644, allocations: 3.984 kB / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1644, allocations: 11.94 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1648, allocations: 395.2 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1648, allocations: 0 / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.1649, allocations: 11.94 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1649, allocations: 0 / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1649, allocations: 7.938 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1649, allocations: 0 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1649, allocations: 0 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.1656, allocations: 0.7871 MB / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.1656, allocations: 89 kB / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1656, allocations: 0 / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.1657, allocations: 0 / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1658, allocations: 11.98 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1658, allocations: 8 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.1659, allocations: 144.1 kB / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1659, allocations: 0 / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.1663, allocations: 27.89 kB / 494.1 MB, free: 5.09 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.001022/0.1673, allocations: 477.4 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1675, allocations: 63.84 kB / 494.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1675, allocations: 0 / 494.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.1675, allocations: 27.94 kB / 494.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1679, allocations: 28.28 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.0005499/0.1684, allocations: 368 kB / 495 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1688, allocations: 0.7082 MB / 495.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.1688, allocations: 16.86 kB / 495.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.1689, allocations: 19.42 kB / 495.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1689, allocations: 0 / 495.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of Templates: time 0.004345/0.1732, allocations: 1.664 MB / 497.4 MB, free: 1.719 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches