Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00232/0.002328, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 101.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.9916/0.9916, allocations: 119.3 MB / 460.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 55.92 kB / 0.5391 GB, free: 43.26 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1682, allocations: 80.69 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002984/0.1712, allocations: 1.621 MB / 0.6195 GB, free: 11.1 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1727, allocations: 0.877 MB / 0.6204 GB, free: 10.21 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.1728, allocations: 7.938 kB / 0.6204 GB, free: 10.21 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1732, allocations: 55.86 kB / 0.6204 GB, free: 10.15 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1736, allocations: 95.72 kB / 0.6205 GB, free: 10.06 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1739, allocations: 87.83 kB / 0.6206 GB, free: 9.973 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1741, allocations: 131.6 kB / 0.6207 GB, free: 9.844 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.1742, allocations: 4 kB / 0.6207 GB, free: 9.84 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1743, allocations: 55.72 kB / 0.6208 GB, free: 9.785 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1745, allocations: 59.81 kB / 0.6208 GB, free: 9.727 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1745, allocations: 4 kB / 0.6208 GB, free: 9.723 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1746, allocations: 27.98 kB / 0.6209 GB, free: 9.695 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1748, allocations: 67.8 kB / 0.6209 GB, free: 9.629 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1749, allocations: 59.48 kB / 0.621 GB, free: 9.57 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1751, allocations: 151.6 kB / 0.6211 GB, free: 9.422 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1752, allocations: 4 kB / 0.6211 GB, free: 9.418 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1752, allocations: 0 / 0.6211 GB, free: 9.418 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1752, allocations: 4 kB / 0.6211 GB, free: 9.414 MB / 442.8 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.000636/0.1758, allocations: 490.2 kB / 0.6216 GB, free: 8.887 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1759, allocations: 8.031 kB / 0.6216 GB, free: 8.879 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.1759, allocations: 20.66 kB / 0.6216 GB, free: 8.859 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.1764, allocations: 335.4 kB / 0.6219 GB, free: 8.488 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1764, allocations: 4.375 kB / 0.6219 GB, free: 8.484 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1764, allocations: 4.125 kB / 0.622 GB, free: 8.48 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1766, allocations: 53.61 kB / 0.622 GB, free: 8.422 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1766, allocations: 7.984 kB / 0.622 GB, free: 8.414 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1766, allocations: 0 / 0.622 GB, free: 8.414 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1766, allocations: 0 / 0.622 GB, free: 8.414 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.1767, allocations: 12 kB / 0.622 GB, free: 8.402 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.1769, allocations: 213.6 kB / 0.6222 GB, free: 8.145 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1771, allocations: 50.61 kB / 0.6223 GB, free: 8.086 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1771, allocations: 28.73 kB / 0.6223 GB, free: 8.055 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1771, allocations: 0 / 0.6223 GB, free: 8.055 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.1773, allocations: 63.39 kB / 0.6224 GB, free: 7.98 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1773, allocations: 0 / 0.6224 GB, free: 7.98 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002819/0.1776, allocations: 105.5 kB / 0.6225 GB, free: 7.871 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1777, allocations: 55.41 kB / 0.6225 GB, free: 7.805 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.1779, allocations: 278.6 kB / 0.6228 GB, free: 7.523 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.178, allocations: 33.7 kB / 0.6228 GB, free: 7.484 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.178, allocations: 136.1 kB / 0.6229 GB, free: 7.348 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.1781, allocations: 15.81 kB / 0.623 GB, free: 7.332 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1781, allocations: 17.72 kB / 0.623 GB, free: 7.309 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1782, allocations: 334.8 kB / 0.6233 GB, free: 6.973 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1783, allocations: 19.92 kB / 0.6233 GB, free: 6.953 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.1784, allocations: 21.72 kB / 0.6233 GB, free: 6.926 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.1785, allocations: 49.7 kB / 0.6234 GB, free: 6.871 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1785, allocations: 3.938 kB / 0.6234 GB, free: 6.867 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001595/0.1786, allocations: 101.5 kB / 0.6235 GB, free: 6.762 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1787, allocations: 8 kB / 0.6235 GB, free: 6.754 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1787, allocations: 0 / 0.6235 GB, free: 6.754 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1787, allocations: 0 / 0.6235 GB, free: 6.754 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.1788, allocations: 11.98 kB / 0.6235 GB, free: 6.742 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1788, allocations: 32 / 0.6235 GB, free: 6.742 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.1788, allocations: 11.94 kB / 0.6235 GB, free: 6.73 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1789, allocations: 4 kB / 0.6235 GB, free: 6.727 MB / 442.8 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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.0001283/0.179, allocations: 153.6 kB / 0.6237 GB, free: 6.566 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.179, allocations: 19.72 kB / 0.6237 GB, free: 6.547 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.1791, allocations: 25.3 kB / 0.6237 GB, free: 6.52 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1791, allocations: 0 / 0.6237 GB, free: 6.52 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1791, allocations: 0 / 0.6237 GB, free: 6.52 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1791, allocations: 0 / 0.6237 GB, free: 6.52 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1793, allocations: 221.5 kB / 0.6239 GB, free: 6.254 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1793, allocations: 4 kB / 0.6239 GB, free: 6.25 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.1793, allocations: 4 kB / 0.6239 GB, free: 6.246 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1793, allocations: 0 / 0.6239 GB, free: 6.246 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1793, allocations: 3.984 kB / 0.6239 GB, free: 6.242 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1793, allocations: 4 kB / 0.6239 GB, free: 6.238 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1793, allocations: 0 / 0.6239 GB, free: 6.238 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.1798, allocations: 0.7172 MB / 0.6246 GB, free: 5.461 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.1799, allocations: 100.8 kB / 0.6247 GB, free: 5.344 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1799, allocations: 0 / 0.6247 GB, free: 5.344 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.1799, allocations: 4 kB / 0.6247 GB, free: 5.34 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.18, allocations: 0 / 0.6247 GB, free: 5.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.18, allocations: 16.05 kB / 0.6247 GB, free: 5.324 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1802, allocations: 205.9 kB / 0.6249 GB, free: 5.121 MB / 442.8 MB Notification: Performance of sort global known variables: time 2e-07/0.1802, allocations: 0 / 0.6249 GB, free: 5.121 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00031/0.1805, allocations: 20 kB / 0.625 GB, free: 5.102 MB / 442.8 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.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.000855/0.1814, allocations: 416.8 kB / 0.6254 GB, free: 4.848 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1815, allocations: 35.98 kB / 0.6254 GB, free: 4.812 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1815, allocations: 0 / 0.6254 GB, free: 4.812 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.1816, allocations: 19.98 kB / 0.6254 GB, free: 4.793 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1819, allocations: 36.81 kB / 0.6255 GB, free: 4.758 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.1825, allocations: 472.7 kB / 0.6259 GB, free: 4.258 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1828, allocations: 0.7362 MB / 0.6266 GB, free: 3.496 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1829, allocations: 45.69 kB / 0.6267 GB, free: 3.453 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.183, allocations: 27.44 kB / 0.6267 GB, free: 3.426 MB / 442.8 MB Notification: Performance of SimCode: time 2.4e-07/0.183, allocations: 0 / 0.6267 GB, free: 3.426 MB / 442.8 MB Notification: Performance of Templates: time 0.004377/0.1874, allocations: 1.676 MB / 0.6283 GB, free: 1.758 MB / 442.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches