Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 181.8 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.31 kB / 294.4 MB, free: 9.703 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9696/0.9696, allocations: 120.5 MB / 465.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 8 kB / 0.5464 GB, free: 41.35 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1682, allocations: 82.84 MB / 0.6273 GB, free: 7.859 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002157/0.1704, allocations: 1.263 MB / 0.6285 GB, free: 6.586 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.172, allocations: 0.9699 MB / 0.6295 GB, free: 5.574 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1721, allocations: 0 / 0.6295 GB, free: 5.574 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1725, allocations: 63.8 kB / 0.6295 GB, free: 5.512 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.1728, allocations: 91.72 kB / 0.6296 GB, free: 5.422 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1732, allocations: 95.81 kB / 0.6297 GB, free: 5.328 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1734, allocations: 123.6 kB / 0.6298 GB, free: 5.207 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.1735, allocations: 7.984 kB / 0.6298 GB, free: 5.199 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1737, allocations: 51.78 kB / 0.6299 GB, free: 5.148 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1738, allocations: 67.75 kB / 0.6299 GB, free: 5.082 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1739, allocations: 0 / 0.6299 GB, free: 5.082 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.174, allocations: 27.98 kB / 0.63 GB, free: 5.055 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1741, allocations: 71.73 kB / 0.63 GB, free: 4.984 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 9.808e-05/0.1742, allocations: 81.19 kB / 0.6301 GB, free: 4.898 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1745, allocations: 147.6 kB / 0.6302 GB, free: 4.754 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1745, allocations: 7.984 kB / 0.6303 GB, free: 4.746 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1745, allocations: 0 / 0.6303 GB, free: 4.746 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1745, allocations: 0 / 0.6303 GB, free: 4.746 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.000677/0.1752, allocations: 470.4 kB / 0.6307 GB, free: 4.238 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1753, allocations: 8.031 kB / 0.6307 GB, free: 4.23 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.1753, allocations: 20.75 kB / 0.6307 GB, free: 4.211 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.1758, allocations: 335.3 kB / 0.6311 GB, free: 3.84 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1758, allocations: 384 / 0.6311 GB, free: 3.84 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1758, allocations: 8.125 kB / 0.6311 GB, free: 3.832 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.176, allocations: 57.61 kB / 0.6311 GB, free: 3.77 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.176, allocations: 0 / 0.6311 GB, free: 3.77 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.176, allocations: 0 / 0.6311 GB, free: 3.77 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.176, allocations: 4 kB / 0.6311 GB, free: 3.766 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.1761, allocations: 7.984 kB / 0.6311 GB, free: 3.758 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.1763, allocations: 209.7 kB / 0.6313 GB, free: 3.504 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1765, allocations: 54.61 kB / 0.6314 GB, free: 3.441 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.1766, allocations: 20.8 kB / 0.6314 GB, free: 3.418 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1766, allocations: 3.984 kB / 0.6314 GB, free: 3.414 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1768, allocations: 71.33 kB / 0.6315 GB, free: 3.332 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.1768, allocations: 4 kB / 0.6315 GB, free: 3.328 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002941/0.1771, allocations: 101.4 kB / 0.6316 GB, free: 3.223 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1772, allocations: 55.41 kB / 0.6316 GB, free: 3.156 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1774, allocations: 274.7 kB / 0.6319 GB, free: 2.879 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1775, allocations: 25.7 kB / 0.6319 GB, free: 2.848 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1776, allocations: 144.1 kB / 0.632 GB, free: 2.703 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1776, allocations: 7.812 kB / 0.6321 GB, free: 2.695 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.1776, allocations: 11.94 kB / 0.6321 GB, free: 2.684 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1778, allocations: 330.8 kB / 0.6324 GB, free: 2.352 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.1779, allocations: 12 kB / 0.6324 GB, free: 2.34 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.1779, allocations: 33.7 kB / 0.6324 GB, free: 2.301 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.178, allocations: 41.7 kB / 0.6325 GB, free: 2.254 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1781, allocations: 0 / 0.6325 GB, free: 2.254 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001672/0.1782, allocations: 93.31 kB / 0.6326 GB, free: 2.156 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1783, allocations: 8 kB / 0.6326 GB, free: 2.148 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1783, allocations: 0 / 0.6326 GB, free: 2.148 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1783, allocations: 0 / 0.6326 GB, free: 2.148 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1784, allocations: 20.02 kB / 0.6326 GB, free: 2.129 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1784, allocations: 4 kB / 0.6326 GB, free: 2.125 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.1785, allocations: 7.844 kB / 0.6326 GB, free: 2.117 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1785, allocations: 7.938 kB / 0.6326 GB, free: 2.109 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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.0001266/0.1786, allocations: 155.8 kB / 0.6327 GB, free: 1.949 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1786, allocations: 19.81 kB / 0.6328 GB, free: 1.93 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.1787, allocations: 25.28 kB / 0.6328 GB, free: 1.902 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1787, allocations: 4 kB / 0.6328 GB, free: 1.898 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1787, allocations: 0 / 0.6328 GB, free: 1.898 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1787, allocations: 4 kB / 0.6328 GB, free: 1.895 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1789, allocations: 217.5 kB / 0.633 GB, free: 1.633 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1789, allocations: 4 kB / 0.633 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.1789, allocations: 0 / 0.633 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1789, allocations: 4 kB / 0.633 GB, free: 1.625 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.179, allocations: 0 / 0.633 GB, free: 1.625 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.179, allocations: 320 / 0.633 GB, free: 1.625 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.179, allocations: 0 / 0.633 GB, free: 1.625 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1792, allocations: 128.8 kB / 0.6331 GB, free: 1.48 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.1793, allocations: 104.8 kB / 0.6332 GB, free: 1.359 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1793, allocations: 4 kB / 0.6332 GB, free: 1.355 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.1793, allocations: 7.922 kB / 0.6332 GB, free: 1.348 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1794, allocations: 4 kB / 0.6333 GB, free: 1.344 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1794, allocations: 0 / 0.6333 GB, free: 1.344 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1796, allocations: 201.9 kB / 0.6334 GB, free: 1.145 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1796, allocations: 0 / 0.6334 GB, free: 1.145 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002238/0.1799, allocations: 23.98 kB / 0.6335 GB, free: 1.121 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.001013/0.1809, allocations: 462.4 kB / 0.6339 GB, free: 0.7969 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1811, allocations: 43.98 kB / 0.6339 GB, free: 0.7539 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1811, allocations: 0 / 0.6339 GB, free: 0.7539 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.1811, allocations: 19.94 kB / 0.634 GB, free: 0.7344 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1814, allocations: 36.8 kB / 0.634 GB, free: 0.6953 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.182, allocations: 365.1 kB / 0.6344 GB, free: 324 kB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.1825, allocations: 0.7323 MB / 0.6351 GB, free: 15.55 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1826, allocations: 45.66 kB / 0.6351 GB, free: 15.51 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.1827, allocations: 23.42 kB / 0.6351 GB, free: 15.49 MB / 458.8 MB Notification: Performance of SimCode: time 3.3e-07/0.1827, allocations: 0 / 0.6351 GB, free: 15.49 MB / 458.8 MB Notification: Performance of Templates: time 0.004997/0.1877, allocations: 1.648 MB / 0.6367 GB, free: 13.86 MB / 458.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/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