Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 94.92 kB / 15.98 MB, free: 6.34 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.001431/0.001432, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.9/1.9, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.4032/0.4032, allocations: 43.5 MB / 313.6 MB, free: 8.508 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.002454/0.002453, allocations: 67.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1455, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.006214/0.1518, allocations: 1.968 MB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1539, allocations: 0.8234 MB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1542, allocations: 3.938 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.1547, allocations: 35.83 kB / 442.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.1551, allocations: 55.78 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.1556, allocations: 91.81 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.156, allocations: 131.6 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.1562, allocations: 29.75 kB / 443.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1564, allocations: 63.7 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1566, allocations: 51.66 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.1566, allocations: 8 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.1568, allocations: 43.98 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.1569, allocations: 31.91 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1571, allocations: 51.61 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.1575, allocations: 143.5 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1575, allocations: 0 / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1575, allocations: 0 / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1576, allocations: 0 / 443.5 MB, free: 11.18 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.001112/0.1587, allocations: 484.4 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.107e-05/0.1588, allocations: 11.89 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1589, allocations: 20.73 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1593, allocations: 216.8 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1593, allocations: 8.375 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.1594, allocations: 8.125 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1597, allocations: 112.2 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1597, allocations: 0 / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1598, allocations: 7.984 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1598, allocations: 7.938 kB / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.16, allocations: 51.89 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.1608, allocations: 0.5086 MB / 445 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1612, allocations: 82.61 kB / 445 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1613, allocations: 48.83 kB / 445.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.1613, allocations: 3.938 kB / 445.1 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.1617, allocations: 79.38 kB / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.1617, allocations: 0 / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004208/0.1621, allocations: 137.5 kB / 445.3 MB, free: 9.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1622, allocations: 59.34 kB / 445.4 MB, free: 9.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1624, allocations: 191.4 kB / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1624, allocations: 33.7 kB / 445.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.1625, allocations: 119.9 kB / 445.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1625, allocations: 19.72 kB / 445.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.1626, allocations: 33.7 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1627, allocations: 322.8 kB / 446.1 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.1628, allocations: 27.98 kB / 446.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1629, allocations: 72.27 kB / 446.2 MB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1631, allocations: 88.22 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1631, allocations: 4 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002844/0.1634, allocations: 137.7 kB / 446.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1634, allocations: 8.094 kB / 446.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1634, allocations: 3.938 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1635, allocations: 3.984 kB / 446.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1636, allocations: 27.88 kB / 446.4 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1636, allocations: 0 / 446.4 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.1637, allocations: 23.95 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1637, allocations: 8 kB / 446.5 MB, free: 7.984 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.0001156/0.1638, allocations: 125.8 kB / 446.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.1639, allocations: 19.8 kB / 446.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.1639, allocations: 13.41 kB / 446.6 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1639, allocations: 3.938 kB / 446.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.164, allocations: 0 / 446.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.164, allocations: 0 / 446.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1642, allocations: 209.6 kB / 446.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.1642, allocations: 8 kB / 446.8 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.1643, allocations: 19.92 kB / 446.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1643, allocations: 0 / 446.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1644, allocations: 0 / 446.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1644, allocations: 3.938 kB / 446.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1644, allocations: 4 kB / 446.9 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.1649, allocations: 184.8 kB / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1649, allocations: 84.95 kB / 447.1 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.165, allocations: 8 kB / 447.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.1651, allocations: 11.92 kB / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1651, allocations: 4 kB / 447.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1651, allocations: 4 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1653, allocations: 141.2 kB / 447.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 0 / 447.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1655, allocations: 24 kB / 447.3 MB, free: 7.035 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.001049/0.1666, allocations: 426.6 kB / 447.7 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.1669, allocations: 79.91 kB / 447.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1669, allocations: 4 kB / 447.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.167, allocations: 39.91 kB / 447.8 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1674, allocations: 48.28 kB / 447.9 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.168, allocations: 300.1 kB / 448.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1683, allocations: 0.7162 MB / 448.9 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.1684, allocations: 17.41 kB / 448.9 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.1685, allocations: 19.44 kB / 448.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1685, allocations: 0 / 448.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of Templates: time 0.005754/0.1743, allocations: 1.833 MB / 450.8 MB, free: 3.551 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches