Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 101.5 kB / 16.27 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 192.2 kB / 17.2 MB, free: 5.508 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.801/1.801, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2363/0.2363, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001605/0.001606, allocations: 78.78 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1591, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003713/0.1629, allocations: 1.701 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1641, allocations: 0.7844 MB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.1642, allocations: 4 kB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1645, allocations: 55.75 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1648, allocations: 47.77 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.165, allocations: 83.7 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1652, allocations: 99.69 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1653, allocations: 8.516 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.1654, allocations: 47.78 kB / 443.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.1655, allocations: 27.84 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1655, allocations: 4 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1656, allocations: 43.98 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.1657, allocations: 19.92 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.1658, allocations: 35.73 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.166, allocations: 115.6 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.166, allocations: 0 / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.166, allocations: 0 / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.166, allocations: 0 / 443.6 MB, free: 3.812 MB / 318.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.0005976/0.1666, allocations: 418.9 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1667, allocations: 15.89 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1667, allocations: 16.78 kB / 444 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1669, allocations: 208.7 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.167, allocations: 384 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.167, allocations: 8.125 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1672, allocations: 57.61 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1672, allocations: 0 / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1672, allocations: 0 / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1672, allocations: 4 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.436e-05/0.1673, allocations: 23.98 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.1676, allocations: 280.9 kB / 444.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1678, allocations: 58.61 kB / 444.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.1679, allocations: 20.86 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1679, allocations: 8 kB / 444.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1682, allocations: 63.38 kB / 444.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1682, allocations: 0 / 444.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006362/0.1688, allocations: 185.1 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.1689, allocations: 55.41 kB / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1691, allocations: 195.3 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1691, allocations: 37.69 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.1692, allocations: 104 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1692, allocations: 23.73 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1693, allocations: 21.72 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1694, allocations: 326.8 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.1694, allocations: 23.98 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1695, allocations: 37.64 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1696, allocations: 61.7 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1696, allocations: 0 / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1698, allocations: 105.4 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1699, allocations: 8 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1699, allocations: 0 / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1699, allocations: 0 / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.17, allocations: 15.98 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.17, allocations: 4.031 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1701, allocations: 7.938 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1701, allocations: 11.92 kB / 446 MB, free: 1.219 MB / 318.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 0.0001032/0.1702, allocations: 137.1 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1702, allocations: 15.81 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.1703, allocations: 13.41 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1703, allocations: 3.984 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1703, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1703, allocations: 7.938 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1707, allocations: 395.5 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1707, allocations: 0 / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.1708, allocations: 8 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1708, allocations: 4 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1708, allocations: 3.938 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1708, allocations: 3.984 kB / 446.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1708, allocations: 4 kB / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.171, allocations: 200.3 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.171, allocations: 88.86 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1711, allocations: 7.938 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.1711, allocations: 4.188 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1712, allocations: 8.359 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1712, allocations: 7.938 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.862e-05/0.1713, allocations: 156.9 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1713, allocations: 0 / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1716, allocations: 20 kB / 447 MB, free: 48 kB / 318.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.00135/0.1729, allocations: 466.7 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1732, allocations: 63.92 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1732, allocations: 0 / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.1733, allocations: 35.92 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1737, allocations: 27.97 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.1742, allocations: 227.5 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.1747, allocations: 0.7002 MB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.1747, allocations: 25.17 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1748, allocations: 15.44 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1748, allocations: 0 / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Templates: time 0.004874/0.1796, allocations: 1.693 MB / 450.3 MB, free: 12.85 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches