Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 96.14 kB / 15.87 MB, free: 16 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.001865/0.001864, allocations: 203 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.4588/0.4588, allocations: 43.49 MB / 313.5 MB, free: 8.496 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.001877/0.001877, allocations: 74.55 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1609, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004372/0.1653, allocations: 1.904 MB / 441.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1671, allocations: 0.8741 MB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1672, allocations: 4 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.1678, allocations: 151.6 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.1681, allocations: 123.7 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1685, allocations: 135.7 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1688, allocations: 207.3 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.169, allocations: 29.53 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1691, allocations: 91.61 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1693, allocations: 119.6 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1693, allocations: 4 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1695, allocations: 51.91 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.1696, allocations: 39.84 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1697, allocations: 71.47 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.17, allocations: 191.6 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.17, allocations: 4 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.17, allocations: 0 / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.17, allocations: 0 / 443.8 MB, free: 10.83 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008936/0.1709, allocations: 0.5215 MB / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.171, allocations: 8.031 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.171, allocations: 28.59 kB / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1714, allocations: 259.6 kB / 444.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1714, allocations: 4.375 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.1715, allocations: 12.11 kB / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.1717, allocations: 99.3 kB / 444.7 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1718, allocations: 4 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1718, allocations: 0 / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1718, allocations: 4 kB / 444.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1719, allocations: 39.97 kB / 444.8 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.1725, allocations: 444.8 kB / 445.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1728, allocations: 121.3 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1729, allocations: 45.64 kB / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.173, allocations: 0 / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.1733, allocations: 109.1 kB / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.1733, allocations: 0 / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009372/0.1742, allocations: 356.7 kB / 445.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.1743, allocations: 81.05 kB / 445.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.1747, allocations: 350.9 kB / 446.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1747, allocations: 37.7 kB / 446.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.1748, allocations: 140.4 kB / 446.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.066e-05/0.1749, allocations: 51.34 kB / 446.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.175, allocations: 37.7 kB / 446.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1752, allocations: 334.8 kB / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1753, allocations: 43.92 kB / 446.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1754, allocations: 75.41 kB / 447 MB, free: 7.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.1757, allocations: 115.3 kB / 447.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1757, allocations: 0 / 447.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003256/0.176, allocations: 177.7 kB / 447.2 MB, free: 7.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.176, allocations: 16.05 kB / 447.3 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.1761, allocations: 4 kB / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1761, allocations: 0 / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1762, allocations: 35.92 kB / 447.3 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1763, allocations: 3.938 kB / 447.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.1763, allocations: 8 kB / 447.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1764, allocations: 8 kB / 447.3 MB, free: 7.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001913/0.1766, allocations: 157.7 kB / 447.5 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.1766, allocations: 23.72 kB / 447.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.1767, allocations: 37.73 kB / 447.5 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1767, allocations: 3.938 kB / 447.5 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.1768, allocations: 3.938 kB / 447.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1768, allocations: 7.938 kB / 447.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/0.1776, allocations: 0.6085 MB / 448.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1776, allocations: 8 kB / 448.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.1777, allocations: 23.92 kB / 448.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1777, allocations: 4 kB / 448.2 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1777, allocations: 0 / 448.2 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1778, allocations: 4 kB / 448.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1778, allocations: 3.984 kB / 448.2 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1782, allocations: 360.1 kB / 448.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.1782, allocations: 104.8 kB / 448.6 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.1783, allocations: 4 kB / 448.7 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1784, allocations: 8 kB / 448.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1785, allocations: 15.97 kB / 448.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.1785, allocations: 4 kB / 448.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.1788, allocations: 265.9 kB / 448.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1788, allocations: 4 kB / 448.9 MB, free: 5.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.1791, allocations: 40 kB / 449 MB, free: 5.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001133/0.1803, allocations: 473.1 kB / 449.4 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1806, allocations: 115.9 kB / 449.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1806, allocations: 0 / 449.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1807, allocations: 64.38 kB / 449.6 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.1813, allocations: 68.72 kB / 449.7 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.1821, allocations: 496.2 kB / 450.2 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.1825, allocations: 0.7517 MB / 450.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.827e-05/0.1826, allocations: 29.94 kB / 451 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.1827, allocations: 31.36 kB / 451 MB, free: 3.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1827, allocations: 0 / 451 MB, free: 3.227 MB / 382.1 MB Notification: Performance of Templates: time 0.006163/0.1888, allocations: 2.555 MB / 453.5 MB, free: 0.6758 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches