Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") 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.0009411, allocations: 183 kB / 16.71 MB, free: 4.969 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.411/1.411, allocations: 225.7 MB / 243.2 MB, free: 8.488 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.001093/0.001093, allocations: 97.3 kB / 294.4 MB, free: 9.5 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.908/0.908, allocations: 120.5 MB / 465.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003306, allocations: 8 kB / 0.5464 GB, free: 41.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 82.86 MB / 0.6273 GB, free: 7.859 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001488/0.1627, allocations: 1.1 MB / 0.6284 GB, free: 6.75 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1638, allocations: 0.8031 MB / 0.6291 GB, free: 5.887 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.1638, allocations: 0 / 0.6291 GB, free: 5.887 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.164, allocations: 15.92 kB / 0.6292 GB, free: 5.871 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1642, allocations: 55.88 kB / 0.6292 GB, free: 5.816 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1645, allocations: 55.88 kB / 0.6293 GB, free: 5.762 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1646, allocations: 83.8 kB / 0.6293 GB, free: 5.68 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.1647, allocations: 8 kB / 0.6294 GB, free: 5.672 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1648, allocations: 39.84 kB / 0.6294 GB, free: 5.633 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1649, allocations: 43.84 kB / 0.6294 GB, free: 5.59 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1649, allocations: 0 / 0.6294 GB, free: 5.59 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.165, allocations: 75.91 kB / 0.6295 GB, free: 5.516 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1652, allocations: 59.89 kB / 0.6296 GB, free: 5.457 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.1652, allocations: 77.28 kB / 0.6296 GB, free: 5.375 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1654, allocations: 143.6 kB / 0.6298 GB, free: 5.234 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1654, allocations: 3.938 kB / 0.6298 GB, free: 5.23 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1655, allocations: 0 / 0.6298 GB, free: 5.23 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1655, allocations: 4 kB / 0.6298 GB, free: 5.227 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004528/0.1659, allocations: 464.4 kB / 0.6302 GB, free: 4.719 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.166, allocations: 8.031 kB / 0.6302 GB, free: 4.711 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.166, allocations: 16.75 kB / 0.6302 GB, free: 4.695 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.1664, allocations: 312.7 kB / 0.6305 GB, free: 4.348 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1664, allocations: 384 / 0.6305 GB, free: 4.348 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1664, allocations: 384 / 0.6305 GB, free: 4.348 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1666, allocations: 58 kB / 0.6306 GB, free: 4.285 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1666, allocations: 0 / 0.6306 GB, free: 4.285 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1666, allocations: 0 / 0.6306 GB, free: 4.285 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1666, allocations: 0 / 0.6306 GB, free: 4.285 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.1667, allocations: 27.92 kB / 0.6306 GB, free: 4.258 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1668, allocations: 205.5 kB / 0.6308 GB, free: 4.008 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.1669, allocations: 38.58 kB / 0.6309 GB, free: 3.961 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.167, allocations: 36.89 kB / 0.6309 GB, free: 3.922 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.167, allocations: 0 / 0.6309 GB, free: 3.922 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1672, allocations: 101 kB / 0.631 GB, free: 3.805 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/0.1672, allocations: 0 / 0.631 GB, free: 3.805 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002787/0.1675, allocations: 167.1 kB / 0.6312 GB, free: 3.629 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1675, allocations: 85.11 kB / 0.6312 GB, free: 3.527 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1677, allocations: 232.2 kB / 0.6315 GB, free: 3.293 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1677, allocations: 25.7 kB / 0.6315 GB, free: 3.262 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.1678, allocations: 120.1 kB / 0.6316 GB, free: 3.141 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1678, allocations: 15.72 kB / 0.6316 GB, free: 3.125 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.1679, allocations: 4 kB / 0.6316 GB, free: 3.121 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.168, allocations: 330.8 kB / 0.6319 GB, free: 2.789 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.381e-05/0.168, allocations: 16 kB / 0.6319 GB, free: 2.773 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.168, allocations: 27.92 kB / 0.632 GB, free: 2.746 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1682, allocations: 104.3 kB / 0.6321 GB, free: 2.629 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1682, allocations: 0 / 0.6321 GB, free: 2.629 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002038/0.1684, allocations: 151.1 kB / 0.6322 GB, free: 2.469 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.1684, allocations: 33.7 kB / 0.6322 GB, free: 2.43 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1684, allocations: 0 / 0.6322 GB, free: 2.43 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1684, allocations: 3.984 kB / 0.6323 GB, free: 2.426 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.1685, allocations: 4 kB / 0.6323 GB, free: 2.422 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1685, allocations: 4 kB / 0.6323 GB, free: 2.418 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.1686, allocations: 7.906 kB / 0.6323 GB, free: 2.41 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1686, allocations: 12 kB / 0.6323 GB, free: 2.398 MB / 442.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.0001205/0.1687, allocations: 171.6 kB / 0.6324 GB, free: 2.215 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1687, allocations: 23.75 kB / 0.6325 GB, free: 2.191 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.1688, allocations: 21.39 kB / 0.6325 GB, free: 2.164 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1688, allocations: 0 / 0.6325 GB, free: 2.164 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1688, allocations: 0 / 0.6325 GB, free: 2.164 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1688, allocations: 0 / 0.6325 GB, free: 2.164 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.169, allocations: 221.5 kB / 0.6327 GB, free: 1.898 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.169, allocations: 4 kB / 0.6327 GB, free: 1.895 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.169, allocations: 7.938 kB / 0.6327 GB, free: 1.887 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.169, allocations: 4 kB / 0.6327 GB, free: 1.883 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.169, allocations: 3.938 kB / 0.6327 GB, free: 1.879 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.169, allocations: 7.984 kB / 0.6327 GB, free: 1.871 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.169, allocations: 0 / 0.6327 GB, free: 1.871 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1693, allocations: 194.7 kB / 0.6329 GB, free: 1.656 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.1693, allocations: 108.8 kB / 0.633 GB, free: 1.531 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1694, allocations: 8 kB / 0.633 GB, free: 1.523 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.1694, allocations: 8 kB / 0.633 GB, free: 1.516 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.1694, allocations: 0 / 0.633 GB, free: 1.516 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1695, allocations: 11.98 kB / 0.633 GB, free: 1.504 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.000122/0.1696, allocations: 169.6 kB / 0.6332 GB, free: 1.34 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1696, allocations: 0 / 0.6332 GB, free: 1.34 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002031/0.1698, allocations: 40 kB / 0.6332 GB, free: 1.301 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: 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.0001455/0.17, allocations: 123.2 kB / 0.6334 GB, free: 1.172 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1702, allocations: 143.3 kB / 0.6335 GB, free: 1.02 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1702, allocations: 4 kB / 0.6335 GB, free: 1.016 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.1703, allocations: 111.4 kB / 0.6336 GB, free: 0.8945 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1705, allocations: 28.16 kB / 0.6336 GB, free: 0.8672 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.1709, allocations: 318.7 kB / 0.6339 GB, free: 0.5312 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1712, allocations: 0.7204 MB / 0.6346 GB, free: 15.78 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.1713, allocations: 29.58 kB / 0.6347 GB, free: 15.75 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.1713, allocations: 19.38 kB / 0.6347 GB, free: 15.73 MB / 458.8 MB Notification: Performance of SimCode: time 3.21e-07/0.1713, allocations: 0 / 0.6347 GB, free: 15.73 MB / 458.8 MB Notification: Performance of Templates: time 0.003768/0.1751, allocations: 1.286 MB / 0.6359 GB, free: 14.45 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches