Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001632, allocations: 95.62 kB / 16.98 MB, free: 6.402 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.001956/0.001956, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003383, allocations: 8.812 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002718/0.1545, allocations: 1.591 MB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1561, allocations: 0.9479 MB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1563, allocations: 3.938 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.157, allocations: 171.6 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.1573, allocations: 135.6 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.1579, allocations: 186.7 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.1582, allocations: 151.7 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1583, allocations: 25.67 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1585, allocations: 99.59 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1587, allocations: 87.61 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1587, allocations: 4 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1588, allocations: 31.92 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.1589, allocations: 51.81 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.159, allocations: 49.64 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1592, allocations: 167.9 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1592, allocations: 0 / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1592, allocations: 0 / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1592, allocations: 3.938 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008963/0.1601, allocations: 0.5233 MB / 475.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1602, allocations: 8.031 kB / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.1603, allocations: 23.72 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1606, allocations: 266.6 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1607, allocations: 4 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1607, allocations: 4 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1609, allocations: 108.1 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1609, allocations: 0 / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.161, allocations: 8 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.161, allocations: 0 / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1611, allocations: 39.91 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.1617, allocations: 377.5 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1619, allocations: 121.3 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.162, allocations: 96 / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.1622, allocations: 125 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.1622, allocations: 3.938 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004441/0.1627, allocations: 173.3 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.1628, allocations: 110.8 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.1631, allocations: 330.9 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1632, allocations: 33.7 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1633, allocations: 140 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1633, allocations: 27.64 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.1633, allocations: 0 / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1635, allocations: 338.8 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.1636, allocations: 27.98 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1637, allocations: 85.12 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.1638, allocations: 40.52 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1638, allocations: 3.953 kB / 478 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000268/0.1641, allocations: 149.3 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1641, allocations: 8 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1641, allocations: 4.094 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1641, allocations: 4 kB / 478.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1642, allocations: 19.98 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1643, allocations: 0 / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.1644, allocations: 19.83 kB / 478.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1644, allocations: 8 kB / 478.2 MB, free: 6.664 MB / 350.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001404/0.1645, allocations: 146.3 kB / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.1646, allocations: 27.67 kB / 478.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.1647, allocations: 33.73 kB / 478.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1647, allocations: 0 / 478.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1647, allocations: 0 / 478.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1647, allocations: 4 kB / 478.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.1649, allocations: 249.6 kB / 478.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1649, allocations: 3.938 kB / 478.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.165, allocations: 11.95 kB / 478.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.165, allocations: 0 / 478.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.165, allocations: 0 / 478.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.165, allocations: 4 kB / 478.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.165, allocations: 0 / 478.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.1653, allocations: 203.2 kB / 478.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.594e-05/0.1654, allocations: 108.8 kB / 479 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.1655, allocations: 0 / 479 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.1656, allocations: 8.125 kB / 479 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.1656, allocations: 19.98 kB / 479 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1657, allocations: 7.984 kB / 479 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.1659, allocations: 241.9 kB / 479.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1659, allocations: 0 / 479.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1662, allocations: 39.92 kB / 479.3 MB, free: 5.469 MB / 350.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001045/0.1673, allocations: 417 kB / 479.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.1676, allocations: 95.95 kB / 479.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1676, allocations: 0 / 479.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1677, allocations: 44.36 kB / 479.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1681, allocations: 64.86 kB / 479.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007387/0.1688, allocations: 407.6 kB / 480.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.1692, allocations: 0.7479 MB / 481.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1694, allocations: 33.92 kB / 481.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.1694, allocations: 31.36 kB / 481.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1694, allocations: 4 kB / 481.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of Templates: time 0.006416/0.1758, allocations: 2.711 MB / 483.8 MB, free: 1.051 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches