Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, 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.465/1.465, 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.001072/0.001072, allocations: 110.3 kB / 269.9 MB, free: 8.422 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.4431/0.4431, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 55.92 kB / 429.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1523, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003179/0.1555, allocations: 1.72 MB / 488.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1568, allocations: 0.7818 MB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.1569, allocations: 0 / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1572, allocations: 55.86 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1574, allocations: 55.81 kB / 489.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1576, allocations: 79.84 kB / 489.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1578, allocations: 87.7 kB / 489.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1579, allocations: 7.984 kB / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.158, allocations: 55.7 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.1581, allocations: 39.84 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1581, allocations: 0 / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.1582, allocations: 35.97 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1582, allocations: 15.92 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1583, allocations: 23.81 kB / 490 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1585, allocations: 103.9 kB / 490.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1585, allocations: 0 / 490.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1585, allocations: 0 / 490.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1585, allocations: 0 / 490.1 MB, free: 9.453 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.0005402/0.159, allocations: 411 kB / 490.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1591, allocations: 8.031 kB / 490.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.1591, allocations: 8.844 kB / 490.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1594, allocations: 212 kB / 490.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1594, allocations: 384 / 490.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.1594, allocations: 4.125 kB / 490.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1596, allocations: 49.67 kB / 490.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1596, allocations: 7.875 kB / 490.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1596, allocations: 4 kB / 490.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.1596, allocations: 3.984 kB / 490.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.1597, allocations: 19.92 kB / 490.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1599, allocations: 177.7 kB / 491 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1601, allocations: 46.62 kB / 491 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.1601, allocations: 24.78 kB / 491 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1602, allocations: 12 kB / 491 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.1604, allocations: 67.31 kB / 491.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1604, allocations: 0 / 491.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002725/0.1607, allocations: 89.77 kB / 491.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1607, allocations: 55.41 kB / 491.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1609, allocations: 182.2 kB / 491.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1609, allocations: 25.7 kB / 491.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.161, allocations: 104.1 kB / 491.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.161, allocations: 15.81 kB / 491.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.161, allocations: 17.72 kB / 491.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1612, allocations: 322.8 kB / 491.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.1612, allocations: 23.98 kB / 491.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.1613, allocations: 21.72 kB / 491.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.1614, allocations: 49.7 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1614, allocations: 0 / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000144/0.1615, allocations: 85.47 kB / 492.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1616, allocations: 8 kB / 492.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1616, allocations: 3.984 kB / 492.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1616, allocations: 0 / 492.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.1617, allocations: 8 kB / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1617, allocations: 0 / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.1617, allocations: 11.94 kB / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1617, allocations: 4 kB / 492.1 MB, free: 7.172 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 (7): * Single equations (assignments): 7 * 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.0001076/0.1619, allocations: 129.7 kB / 492.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.1619, allocations: 7.906 kB / 492.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1619, allocations: 16.3 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1619, allocations: 0 / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1619, allocations: 0 / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.162, allocations: 0 / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1621, allocations: 193.5 kB / 492.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1621, allocations: 0 / 492.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.1621, allocations: 8 kB / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1621, allocations: 0 / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1621, allocations: 0 / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1622, allocations: 4 kB / 492.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1622, allocations: 3.984 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.1627, allocations: 0.6824 MB / 493.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.1627, allocations: 88.92 kB / 493.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1628, allocations: 3.938 kB / 493.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.1628, allocations: 7.984 kB / 493.2 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1628, allocations: 4 kB / 493.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1629, allocations: 7.938 kB / 493.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.163, allocations: 144 kB / 493.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.163, allocations: 0 / 493.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.1633, allocations: 20 kB / 493.4 MB, free: 5.73 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 (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.0009594/0.1643, allocations: 418.2 kB / 493.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1644, allocations: 35.92 kB / 493.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1644, allocations: 7.938 kB / 493.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.1645, allocations: 23.92 kB / 493.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1648, allocations: 24.59 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.1654, allocations: 322.8 kB / 494.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1657, allocations: 0.7043 MB / 494.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.1657, allocations: 20.39 kB / 495 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.1658, allocations: 15.44 kB / 495 MB, free: 4.152 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1658, allocations: 0 / 495 MB, free: 4.152 MB / 378.7 MB Notification: Performance of Templates: time 0.004089/0.1699, allocations: 1.438 MB / 496.4 MB, free: 2.719 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches