Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 179.8 kB / 16.41 MB, free: 5.703 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.316/1.316, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008554/0.0008554, allocations: 94.36 kB / 270.9 MB, free: 8.359 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.4334/0.4334, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 20 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1576, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00277/0.1604, allocations: 1.614 MB / 491.9 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.162, allocations: 0.8942 MB / 492.8 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1621, allocations: 0 / 492.8 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.1629, allocations: 183.5 kB / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1632, allocations: 135.6 kB / 493.1 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.1636, allocations: 167.6 kB / 493.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.164, allocations: 223.3 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1641, allocations: 21.67 kB / 493.5 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1643, allocations: 95.55 kB / 493.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1644, allocations: 95.59 kB / 493.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.1645, allocations: 4 kB / 493.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1646, allocations: 43.98 kB / 493.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.1647, allocations: 43.81 kB / 493.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1648, allocations: 57.58 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1651, allocations: 171.9 kB / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1651, allocations: 0 / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1651, allocations: 0 / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1651, allocations: 0 / 494 MB, free: 7.227 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001061/0.1662, allocations: 0.5232 MB / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.1662, allocations: 16.02 kB / 494.5 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.1663, allocations: 19.72 kB / 494.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.1668, allocations: 270.5 kB / 494.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1669, allocations: 4 kB / 494.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1669, allocations: 4 kB / 494.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.1672, allocations: 112.1 kB / 494.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1672, allocations: 0 / 494.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1673, allocations: 0 / 494.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.1673, allocations: 7.953 kB / 494.9 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.1675, allocations: 39.97 kB / 495 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.1682, allocations: 373.5 kB / 495.3 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.1685, allocations: 121.3 kB / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1686, allocations: 49.64 kB / 495.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.1686, allocations: 0 / 495.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.1689, allocations: 125 kB / 495.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.644e-06/0.1689, allocations: 0 / 495.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004761/0.1694, allocations: 173.3 kB / 495.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.1695, allocations: 106.8 kB / 495.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.1699, allocations: 338.9 kB / 496.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.17, allocations: 25.7 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1701, allocations: 148.1 kB / 496.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.1702, allocations: 31.55 kB / 496.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.1702, allocations: 8 kB / 496.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1704, allocations: 330.8 kB / 496.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1705, allocations: 31.98 kB / 496.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1707, allocations: 84.86 kB / 496.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1708, allocations: 36 kB / 496.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1708, allocations: 0 / 496.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002856/0.1711, allocations: 145.3 kB / 497 MB, free: 3.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1711, allocations: 7.953 kB / 497 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1711, allocations: 4.094 kB / 497.1 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1711, allocations: 4 kB / 497.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1713, allocations: 23.92 kB / 497.1 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1713, allocations: 4 kB / 497.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1714, allocations: 15.94 kB / 497.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1714, allocations: 4 kB / 497.1 MB, free: 3.812 MB / 378.7 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.000207/0.1716, allocations: 158.3 kB / 497.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.1717, allocations: 27.72 kB / 497.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.1718, allocations: 29.69 kB / 497.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1718, allocations: 4 kB / 497.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1718, allocations: 0 / 497.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1718, allocations: 4 kB / 497.3 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.1721, allocations: 249.5 kB / 497.6 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1721, allocations: 0 / 497.6 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.1722, allocations: 8 kB / 497.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1722, allocations: 0 / 497.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1722, allocations: 7.984 kB / 497.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.1722, allocations: 7.891 kB / 497.6 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1722, allocations: 4 kB / 497.6 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.1726, allocations: 177.6 kB / 497.8 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1727, allocations: 108.8 kB / 497.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.1728, allocations: 4 kB / 497.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1729, allocations: 7.984 kB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.173, allocations: 19.94 kB / 497.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.173, allocations: 4 kB / 497.9 MB, free: 2.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002587/0.1733, allocations: 245.9 kB / 498.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1733, allocations: 0 / 498.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.1736, allocations: 40 kB / 498.2 MB, free: 2.629 MB / 378.7 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.001091/0.1747, allocations: 425.4 kB / 498.6 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.175, allocations: 91.97 kB / 498.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.175, allocations: 0 / 498.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1751, allocations: 47.91 kB / 498.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1755, allocations: 56.78 kB / 498.8 MB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.1763, allocations: 429.2 kB / 499.2 MB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1767, allocations: 0.744 MB / 500 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.1768, allocations: 39.3 kB / 500 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1768, allocations: 0 / 500 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of Templates: time 0.2742/0.451, allocations: 3.173 MB / 0.4914 GB, free: 42.41 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches