Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 179.3 kB / 16.41 MB, free: 5.707 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.892/1.892, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008007/0.0008007, allocations: 90.31 kB / 270.9 MB, free: 8.352 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.3744/0.3744, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005889/0.0005891, allocations: 20 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1548, allocations: 58.85 MB / 490.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002907/0.1577, allocations: 1.357 MB / 491.6 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1595, allocations: 0.7278 MB / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.1597, allocations: 0 / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.1601, allocations: 55.8 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.1604, allocations: 51.81 kB / 492.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.1607, allocations: 71.86 kB / 492.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.161, allocations: 79.75 kB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.161, allocations: 3.984 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1612, allocations: 43.78 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1613, allocations: 27.86 kB / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1613, allocations: 4 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1615, allocations: 31.97 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.1615, allocations: 19.92 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.1616, allocations: 45.64 kB / 492.8 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1618, allocations: 92.02 kB / 492.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1619, allocations: 0 / 492.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1619, allocations: 3.938 kB / 492.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1619, allocations: 0 / 492.9 MB, free: 8.34 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007311/0.1626, allocations: 410.8 kB / 493.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1627, allocations: 8.031 kB / 493.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.1628, allocations: 15.8 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1631, allocations: 214.8 kB / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1631, allocations: 0 / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1631, allocations: 0 / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1633, allocations: 49.67 kB / 493.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1634, allocations: 0 / 493.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1634, allocations: 0 / 493.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1634, allocations: 3.953 kB / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.1635, allocations: 19.92 kB / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.1638, allocations: 193.7 kB / 493.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.164, allocations: 50.62 kB / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.1641, allocations: 20.84 kB / 493.8 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1642, allocations: 3.938 kB / 493.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.1644, allocations: 71.23 kB / 493.9 MB, free: 7.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.1644, allocations: 0 / 493.9 MB, free: 7.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003814/0.1648, allocations: 101.6 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.1649, allocations: 55.36 kB / 494 MB, free: 6.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.1653, allocations: 258.5 kB / 494.3 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1653, allocations: 29.69 kB / 494.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.1654, allocations: 108.1 kB / 494.4 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.1655, allocations: 15.8 kB / 494.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1655, allocations: 3.938 kB / 494.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1656, allocations: 330.8 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.1657, allocations: 15.98 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.1658, allocations: 29.66 kB / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.668e-05/0.1659, allocations: 20.23 kB / 494.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1659, allocations: 0 / 494.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000222/0.1662, allocations: 85.5 kB / 494.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1662, allocations: 4 kB / 494.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1662, allocations: 0 / 494.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1662, allocations: 8.031 kB / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1664, allocations: 11.94 kB / 494.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1664, allocations: 7.938 kB / 495 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.1665, allocations: 7.938 kB / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.1665, allocations: 0 / 495 MB, free: 6 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 ($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 (7): * Single equations (assignments): 7 * 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.0001454/0.1666, allocations: 137.8 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1667, allocations: 15.81 kB / 495.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.1667, allocations: 16.98 kB / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1667, allocations: 4 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1668, allocations: 4 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1668, allocations: 3.953 kB / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.167, allocations: 189.6 kB / 495.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.167, allocations: 0 / 495.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.167, allocations: 8 kB / 495.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.167, allocations: 0 / 495.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1671, allocations: 0 / 495.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1671, allocations: 0 / 495.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.1671, allocations: 3.938 kB / 495.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1673, allocations: 120.8 kB / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.1674, allocations: 89.02 kB / 495.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1675, allocations: 3.984 kB / 495.5 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.1675, allocations: 4 kB / 495.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.1676, allocations: 0 / 495.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1676, allocations: 4 kB / 495.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.1678, allocations: 204 kB / 495.8 MB, free: 5.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1678, allocations: 0 / 495.8 MB, free: 5.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000305/0.1681, allocations: 24 kB / 495.8 MB, free: 5.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001146/0.1693, allocations: 412.8 kB / 496.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1695, allocations: 35.92 kB / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1695, allocations: 0 / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.689e-05/0.1696, allocations: 19.98 kB / 496.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1699, allocations: 31.88 kB / 496.3 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.1706, allocations: 311.4 kB / 496.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1709, allocations: 0.716 MB / 497.3 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.171, allocations: 15.44 kB / 497.3 MB, free: 3.551 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.171, allocations: 0 / 497.3 MB, free: 3.551 MB / 378.7 MB Notification: Performance of Templates: time 0.005109/0.1761, allocations: 1.805 MB / 499.1 MB, free: 1.746 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches