Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 182.5 kB / 16.71 MB, free: 4.965 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.448/1.448, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0008368/0.0008369, allocations: 100.2 kB / 294.4 MB, free: 9.484 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.8615/0.8615, allocations: 120.5 MB / 465.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004603, allocations: 8 kB / 0.5464 GB, free: 41.35 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1686, allocations: 82.85 MB / 0.6273 GB, free: 7.875 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.001652/0.1703, allocations: 1.127 MB / 0.6284 GB, free: 6.738 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1715, allocations: 0.7875 MB / 0.6292 GB, free: 5.891 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.1716, allocations: 3.938 kB / 0.6292 GB, free: 5.887 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1719, allocations: 227.7 kB / 0.6294 GB, free: 5.664 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.1723, allocations: 267.6 kB / 0.6296 GB, free: 5.402 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1726, allocations: 55.89 kB / 0.6297 GB, free: 5.348 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.1731, allocations: 0.5891 MB / 0.6303 GB, free: 4.758 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.1732, allocations: 4 kB / 0.6303 GB, free: 4.754 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.1735, allocations: 307.5 kB / 0.6306 GB, free: 4.453 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.174, allocations: 0.4993 MB / 0.631 GB, free: 3.953 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.57e-05/0.1741, allocations: 32 kB / 0.6311 GB, free: 3.922 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.1743, allocations: 99.92 kB / 0.6312 GB, free: 3.824 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.1755, allocations: 1.255 MB / 0.6324 GB, free: 2.566 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000575/0.1761, allocations: 0.7407 MB / 0.6331 GB, free: 1.812 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1773, allocations: 1.554 MB / 0.6346 GB, free: 256 kB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1773, allocations: 0 / 0.6346 GB, free: 256 kB / 442.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1773, allocations: 0 / 0.6346 GB, free: 256 kB / 442.8 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1773, allocations: 0 / 0.6346 GB, free: 256 kB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00251/0.1799, allocations: 2.473 MB / 0.637 GB, free: 13.71 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1799, allocations: 12.03 kB / 0.6371 GB, free: 13.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.1802, allocations: 289.1 kB / 0.6373 GB, free: 13.41 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/0.1846, allocations: 3.326 MB / 0.6406 GB, free: 10.03 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1846, allocations: 4.375 kB / 0.6406 GB, free: 10.02 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.1847, allocations: 16.36 kB / 0.6406 GB, free: 10.01 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.185, allocations: 149.8 kB / 0.6407 GB, free: 9.855 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.185, allocations: 0 / 0.6407 GB, free: 9.855 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.185, allocations: 8 kB / 0.6408 GB, free: 9.848 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.185, allocations: 4 kB / 0.6408 GB, free: 9.844 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1852, allocations: 71.98 kB / 0.6408 GB, free: 9.773 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1862, allocations: 1.007 MB / 0.6418 GB, free: 8.723 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1864, allocations: 74.5 kB / 0.6419 GB, free: 8.641 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1865, allocations: 68.78 kB / 0.6419 GB, free: 8.57 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1865, allocations: 0 / 0.6419 GB, free: 8.57 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.1868, allocations: 173 kB / 0.6421 GB, free: 8.383 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1868, allocations: 0 / 0.6421 GB, free: 8.383 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0008269/0.1876, allocations: 0.6599 MB / 0.6428 GB, free: 7.707 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.1877, allocations: 81.11 kB / 0.6428 GB, free: 7.609 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/0.1911, allocations: 3.157 MB / 0.6459 GB, free: 4.473 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1911, allocations: 33.7 kB / 0.6459 GB, free: 4.434 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.1922, allocations: 1.24 MB / 0.6472 GB, free: 3.191 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.1922, allocations: 23.75 kB / 0.6472 GB, free: 3.168 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.1923, allocations: 8 kB / 0.6472 GB, free: 3.16 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1924, allocations: 318 kB / 0.6475 GB, free: 2.844 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.1925, allocations: 44 kB / 0.6475 GB, free: 2.801 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.1926, allocations: 51.98 kB / 0.6476 GB, free: 2.75 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1928, allocations: 160.3 kB / 0.6477 GB, free: 2.578 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1928, allocations: 0 / 0.6477 GB, free: 2.578 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006339/0.1934, allocations: 0.6166 MB / 0.6483 GB, free: 1.945 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.1935, allocations: 29.7 kB / 0.6484 GB, free: 1.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1935, allocations: 4 kB / 0.6484 GB, free: 1.906 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1935, allocations: 0 / 0.6484 GB, free: 1.906 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.1936, allocations: 7.984 kB / 0.6484 GB, free: 1.898 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1936, allocations: 0 / 0.6484 GB, free: 1.898 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.1939, allocations: 16 kB / 0.6484 GB, free: 1.883 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.194, allocations: 115.9 kB / 0.6485 GB, free: 1.77 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0008364/0.1948, allocations: 0.7489 MB / 0.6492 GB, free: 1.004 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.1951, allocations: 308 kB / 0.6495 GB, free: 0.6992 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.1954, allocations: 333.8 kB / 0.6498 GB, free: 376 kB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1954, allocations: 0 / 0.6498 GB, free: 376 kB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1954, allocations: 0 / 0.6498 GB, free: 376 kB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1954, allocations: 0 / 0.6498 GB, free: 376 kB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.1964, allocations: 1.085 MB / 0.6509 GB, free: 15.24 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1964, allocations: 4 kB / 0.6509 GB, free: 15.23 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.1964, allocations: 7.938 kB / 0.6509 GB, free: 15.23 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1964, allocations: 3.984 kB / 0.6509 GB, free: 15.22 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.1965, allocations: 32 kB / 0.651 GB, free: 15.19 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1965, allocations: 0 / 0.651 GB, free: 15.19 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.1965, allocations: 0 / 0.651 GB, free: 15.19 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.1972, allocations: 0.665 MB / 0.6516 GB, free: 14.5 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.1976, allocations: 341.2 kB / 0.6519 GB, free: 14.14 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.1977, allocations: 12 kB / 0.6519 GB, free: 14.13 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1979, allocations: 12 kB / 0.652 GB, free: 14.12 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1979, allocations: 11.92 kB / 0.652 GB, free: 14.11 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.198, allocations: 116 kB / 0.6521 GB, free: 14 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002761/0.2008, allocations: 2.172 MB / 0.6542 GB, free: 11.84 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2008, allocations: 0 / 0.6542 GB, free: 11.84 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0004231/0.2012, allocations: 112 kB / 0.6543 GB, free: 11.73 MB / 474.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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002255/0.2015, allocations: 135.4 kB / 0.6544 GB, free: 11.59 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.2019, allocations: 207.4 kB / 0.6546 GB, free: 11.38 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2019, allocations: 4 kB / 0.6546 GB, free: 11.38 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2021, allocations: 147.4 kB / 0.6548 GB, free: 11.22 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.2029, allocations: 232.5 kB / 0.655 GB, free: 10.99 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.2083, allocations: 4.719 MB / 0.6596 GB, free: 6.234 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.2096, allocations: 1.695 MB / 0.6613 GB, free: 4.508 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001441/0.2111, allocations: 0.5806 MB / 0.6618 GB, free: 3.922 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2112, allocations: 131.4 kB / 0.662 GB, free: 3.793 MB / 474.8 MB Notification: Performance of SimCode: time 9.72e-07/0.2112, allocations: 0 / 0.662 GB, free: 3.793 MB / 474.8 MB Notification: Performance of Templates: time 0.02648/0.2377, allocations: 10.43 MB / 0.6721 GB, free: 9.305 MB / 490.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches