Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, 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.00176/0.001759, allocations: 202.9 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.838/1.838, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.3847/0.3847, allocations: 43.49 MB / 313.5 MB, free: 8.301 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.00147/0.00147, allocations: 67.91 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1536, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004028/0.1577, allocations: 1.965 MB / 441.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1593, allocations: 0.8312 MB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1594, allocations: 7.938 kB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1598, allocations: 35.83 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.16, allocations: 43.78 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1603, allocations: 95.83 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1605, allocations: 127.6 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1607, allocations: 33.75 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1608, allocations: 47.73 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.1609, allocations: 55.62 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1609, allocations: 4 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.161, allocations: 40 kB / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.1611, allocations: 23.91 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.1612, allocations: 51.61 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1614, allocations: 143.5 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1614, allocations: 0 / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1614, allocations: 0 / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1615, allocations: 0 / 443.3 MB, free: 11.09 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007162/0.1622, allocations: 480.4 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1622, allocations: 8.031 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.1623, allocations: 16.75 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.1626, allocations: 224.8 kB / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1626, allocations: 12.38 kB / 444 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1626, allocations: 8.125 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.1629, allocations: 112.2 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1629, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1629, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1629, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1631, allocations: 51.91 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.1637, allocations: 0.5086 MB / 444.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.1641, allocations: 90.61 kB / 444.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1642, allocations: 44.77 kB / 444.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1642, allocations: 3.984 kB / 444.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.1645, allocations: 87.31 kB / 444.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1645, allocations: 0 / 444.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004567/0.165, allocations: 145.4 kB / 445.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1651, allocations: 55.34 kB / 445.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1653, allocations: 187.5 kB / 445.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1653, allocations: 29.7 kB / 445.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/0.1654, allocations: 119.9 kB / 445.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1654, allocations: 23.7 kB / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.1655, allocations: 29.72 kB / 445.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1656, allocations: 330.8 kB / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.1657, allocations: 31.98 kB / 445.9 MB, free: 8.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1658, allocations: 60.27 kB / 445.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.166, allocations: 96.22 kB / 446 MB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.166, allocations: 0 / 446 MB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002774/0.1663, allocations: 137.3 kB / 446.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1663, allocations: 4 kB / 446.2 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1663, allocations: 8.125 kB / 446.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1664, allocations: 0 / 446.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1665, allocations: 27.92 kB / 446.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1665, allocations: 0 / 446.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.1666, allocations: 27.83 kB / 446.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1666, allocations: 4.469 kB / 446.2 MB, free: 7.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001137/0.1667, allocations: 129.7 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1667, allocations: 15.81 kB / 446.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.1668, allocations: 17.39 kB / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1668, allocations: 7.938 kB / 446.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1668, allocations: 3.938 kB / 446.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1668, allocations: 0 / 446.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.167, allocations: 205.6 kB / 446.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.167, allocations: 0 / 446.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.1671, allocations: 15.98 kB / 446.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1671, allocations: 0 / 446.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1671, allocations: 4 kB / 446.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1671, allocations: 3.938 kB / 446.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1671, allocations: 3.938 kB / 446.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1675, allocations: 180.8 kB / 446.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.1676, allocations: 92.97 kB / 446.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1676, allocations: 4 kB / 446.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.1677, allocations: 11.94 kB / 446.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1677, allocations: 7.922 kB / 446.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1677, allocations: 4 kB / 446.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1679, allocations: 145.3 kB / 447.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1679, allocations: 0 / 447.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1681, allocations: 24.12 kB / 447.1 MB, free: 6.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009472/0.169, allocations: 422.2 kB / 447.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1693, allocations: 79.89 kB / 447.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1693, allocations: 256 / 447.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.1694, allocations: 35.92 kB / 447.6 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1697, allocations: 43.97 kB / 447.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.1703, allocations: 301.5 kB / 448 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1706, allocations: 0.7084 MB / 448.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.1707, allocations: 29.39 kB / 448.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1707, allocations: 23.42 kB / 448.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1707, allocations: 0 / 448.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of Templates: time 0.004596/0.1753, allocations: 1.774 MB / 450.5 MB, free: 3.535 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches