Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001985/0.001985, allocations: 178.6 kB / 16.41 MB, free: 5.73 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.718/1.718, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008537/0.0008538, allocations: 86.31 kB / 270.9 MB, free: 8.363 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.5061/0.5061, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005964/0.0005964, allocations: 20 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.154, allocations: 58.85 MB / 490.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002477/0.1565, allocations: 1.579 MB / 491.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1579, allocations: 0.7733 MB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.158, allocations: 4 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1583, allocations: 39.78 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1585, allocations: 47.77 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1588, allocations: 87.81 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.159, allocations: 123.6 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1592, allocations: 29.47 kB / 492.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1593, allocations: 47.72 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.1594, allocations: 43.72 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1594, allocations: 4 kB / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.1595, allocations: 31.98 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1596, allocations: 23.92 kB / 493.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1596, allocations: 37.64 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1598, allocations: 112 kB / 493.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1598, allocations: 4 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1598, allocations: 0 / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1599, allocations: 0 / 493.2 MB, free: 8.203 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007029/0.1606, allocations: 464.3 kB / 493.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1606, allocations: 8.031 kB / 493.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.1607, allocations: 19.81 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.161, allocations: 218.8 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.161, allocations: 8 kB / 493.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.161, allocations: 4 kB / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1613, allocations: 116 kB / 494 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1614, allocations: 0 / 494 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1614, allocations: 4 kB / 494 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1614, allocations: 7.953 kB / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1616, allocations: 51.91 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.1622, allocations: 0.5048 MB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.1626, allocations: 90.61 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1627, allocations: 48.81 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1627, allocations: 3.938 kB / 494.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.163, allocations: 83.36 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.163, allocations: 0 / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004201/0.1634, allocations: 157.3 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1635, allocations: 51.41 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1637, allocations: 191.4 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1637, allocations: 29.7 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.1638, allocations: 112 kB / 495.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1638, allocations: 31.55 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1638, allocations: 0 / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.164, allocations: 326.8 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.243e-05/0.1641, allocations: 31.98 kB / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1642, allocations: 64.39 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1643, allocations: 39.98 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1643, allocations: 3.953 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002806/0.1646, allocations: 141.3 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1647, allocations: 7.938 kB / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1647, allocations: 0 / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1647, allocations: 4 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1648, allocations: 28.11 kB / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1648, allocations: 0 / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.1649, allocations: 11.94 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1649, allocations: 8 kB / 496 MB, free: 5.121 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.1651, allocations: 133 kB / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.1651, allocations: 19.77 kB / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.1651, allocations: 17.41 kB / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1652, allocations: 4 kB / 496.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1652, allocations: 0 / 496.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1652, allocations: 3.984 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1654, allocations: 210.1 kB / 496.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1654, allocations: 0 / 496.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.1655, allocations: 19.95 kB / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1655, allocations: 0 / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1656, allocations: 4 kB / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1656, allocations: 3.938 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1656, allocations: 3.984 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.166, allocations: 188.8 kB / 496.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.166, allocations: 96.89 kB / 496.7 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1661, allocations: 7.938 kB / 496.7 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.1661, allocations: 8 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.1662, allocations: 16.05 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1662, allocations: 4 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1664, allocations: 141.1 kB / 496.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1664, allocations: 0 / 496.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.1666, allocations: 28 kB / 496.9 MB, free: 4.137 MB / 378.7 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 (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.0009568/0.1676, allocations: 406 kB / 497.3 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1679, allocations: 83.89 kB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1679, allocations: 4 kB / 497.4 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.168, allocations: 39.92 kB / 497.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1684, allocations: 32.16 kB / 497.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.1692, allocations: 331.5 kB / 497.8 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.1696, allocations: 0.7123 MB / 498.5 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.1697, allocations: 15.44 kB / 498.5 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1697, allocations: 4 kB / 498.5 MB, free: 2.508 MB / 378.7 MB Notification: Performance of Templates: time 0.005054/0.1748, allocations: 2.129 MB / 0.4889 GB, free: 388 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches