Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001346/0.001346, allocations: 184.9 kB / 16.72 MB, free: 4.938 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.51/1.51, allocations: 225.7 MB / 243.2 MB, free: 8.438 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.0009439/0.0009438, allocations: 93.56 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.9662/0.9662, allocations: 120.5 MB / 465.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 8 kB / 0.5464 GB, free: 41.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 82.85 MB / 0.6273 GB, free: 7.852 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001764/0.1825, allocations: 1.104 MB / 0.6284 GB, free: 6.738 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1837, allocations: 0.7914 MB / 0.6291 GB, free: 5.887 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.1837, allocations: 3.938 kB / 0.6291 GB, free: 5.883 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.1839, allocations: 15.98 kB / 0.6292 GB, free: 5.867 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.1842, allocations: 55.88 kB / 0.6292 GB, free: 5.812 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1845, allocations: 59.88 kB / 0.6293 GB, free: 5.754 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1846, allocations: 83.8 kB / 0.6293 GB, free: 5.672 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.1846, allocations: 4 kB / 0.6293 GB, free: 5.668 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1848, allocations: 39.84 kB / 0.6294 GB, free: 5.629 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1849, allocations: 47.83 kB / 0.6294 GB, free: 5.582 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1849, allocations: 4 kB / 0.6294 GB, free: 5.578 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1851, allocations: 67.92 kB / 0.6295 GB, free: 5.512 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1852, allocations: 59.83 kB / 0.6296 GB, free: 5.453 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.1853, allocations: 77.3 kB / 0.6296 GB, free: 5.371 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1855, allocations: 139.7 kB / 0.6298 GB, free: 5.234 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1855, allocations: 0 / 0.6298 GB, free: 5.234 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1855, allocations: 0 / 0.6298 GB, free: 5.234 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1855, allocations: 4 kB / 0.6298 GB, free: 5.23 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.0005417/0.1861, allocations: 464.4 kB / 0.6302 GB, free: 4.723 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1861, allocations: 8.031 kB / 0.6302 GB, free: 4.715 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.1862, allocations: 16.75 kB / 0.6302 GB, free: 4.699 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.1866, allocations: 308.7 kB / 0.6305 GB, free: 4.355 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1866, allocations: 4.359 kB / 0.6305 GB, free: 4.352 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1867, allocations: 4.375 kB / 0.6305 GB, free: 4.348 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1868, allocations: 61.88 kB / 0.6306 GB, free: 4.281 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1868, allocations: 0 / 0.6306 GB, free: 4.281 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1868, allocations: 4 kB / 0.6306 GB, free: 4.277 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1869, allocations: 0 / 0.6306 GB, free: 4.277 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.1869, allocations: 23.98 kB / 0.6306 GB, free: 4.254 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.1872, allocations: 201.5 kB / 0.6308 GB, free: 4.008 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.1872, allocations: 42.56 kB / 0.6309 GB, free: 3.957 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.1873, allocations: 36.89 kB / 0.6309 GB, free: 3.918 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1873, allocations: 3.938 kB / 0.6309 GB, free: 3.914 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.1875, allocations: 105 kB / 0.631 GB, free: 3.793 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1875, allocations: 0 / 0.631 GB, free: 3.793 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003064/0.1879, allocations: 163.2 kB / 0.6311 GB, free: 3.621 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1879, allocations: 77.11 kB / 0.6312 GB, free: 3.527 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1882, allocations: 236.2 kB / 0.6314 GB, free: 3.289 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1882, allocations: 25.7 kB / 0.6315 GB, free: 3.258 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.1883, allocations: 116.1 kB / 0.6316 GB, free: 3.141 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1883, allocations: 19.72 kB / 0.6316 GB, free: 3.121 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.1883, allocations: 8 kB / 0.6316 GB, free: 3.113 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1885, allocations: 334.8 kB / 0.6319 GB, free: 2.777 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.1885, allocations: 12 kB / 0.6319 GB, free: 2.766 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.1886, allocations: 23.98 kB / 0.632 GB, free: 2.742 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1887, allocations: 100.3 kB / 0.6321 GB, free: 2.629 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1887, allocations: 0 / 0.6321 GB, free: 2.629 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001901/0.1889, allocations: 151.1 kB / 0.6322 GB, free: 2.469 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.1889, allocations: 33.8 kB / 0.6322 GB, free: 2.43 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1889, allocations: 3.938 kB / 0.6322 GB, free: 2.426 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.189, allocations: 8 kB / 0.6322 GB, free: 2.418 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.189, allocations: 7.984 kB / 0.6323 GB, free: 2.41 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.189, allocations: 0 / 0.6323 GB, free: 2.41 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.1891, allocations: 7.906 kB / 0.6323 GB, free: 2.402 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1891, allocations: 8 kB / 0.6323 GB, free: 2.395 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.0001503/0.1893, allocations: 175.6 kB / 0.6324 GB, free: 2.207 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1893, allocations: 23.75 kB / 0.6325 GB, free: 2.184 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.1894, allocations: 21.39 kB / 0.6325 GB, free: 2.156 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1894, allocations: 0 / 0.6325 GB, free: 2.156 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1894, allocations: 4 kB / 0.6325 GB, free: 2.152 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1894, allocations: 0 / 0.6325 GB, free: 2.152 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1896, allocations: 217.5 kB / 0.6327 GB, free: 1.891 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1896, allocations: 3.938 kB / 0.6327 GB, free: 1.887 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.1896, allocations: 3.938 kB / 0.6327 GB, free: 1.883 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1896, allocations: 4 kB / 0.6327 GB, free: 1.879 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1896, allocations: 3.938 kB / 0.6327 GB, free: 1.875 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1896, allocations: 4 kB / 0.6327 GB, free: 1.871 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1896, allocations: 3.984 kB / 0.6327 GB, free: 1.867 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.1899, allocations: 198.8 kB / 0.6329 GB, free: 1.648 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.19, allocations: 108.8 kB / 0.633 GB, free: 1.523 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.19, allocations: 4 kB / 0.633 GB, free: 1.52 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.1901, allocations: 4 kB / 0.633 GB, free: 1.516 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1901, allocations: 4 kB / 0.633 GB, free: 1.512 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1901, allocations: 8 kB / 0.633 GB, free: 1.504 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.000151/0.1903, allocations: 173.6 kB / 0.6332 GB, free: 1.336 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1903, allocations: 0 / 0.6332 GB, free: 1.336 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002156/0.1905, allocations: 40 kB / 0.6332 GB, free: 1.297 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.0002114/0.1907, allocations: 127.2 kB / 0.6334 GB, free: 1.164 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.191, allocations: 143.3 kB / 0.6335 GB, free: 1.012 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.191, allocations: 0 / 0.6335 GB, free: 1.012 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1911, allocations: 111.4 kB / 0.6336 GB, free: 0.8906 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1914, allocations: 20.55 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.0006009/0.192, allocations: 326.7 kB / 0.6339 GB, free: 0.5234 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.1925, allocations: 0.7242 MB / 0.6346 GB, free: 15.77 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 7.981e-05/0.1926, allocations: 25.77 kB / 0.6347 GB, free: 15.75 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.1926, allocations: 15.44 kB / 0.6347 GB, free: 15.73 MB / 458.8 MB Notification: Performance of SimCode: time 3.21e-07/0.1926, allocations: 0 / 0.6347 GB, free: 15.73 MB / 458.8 MB Notification: Performance of Templates: time 0.004149/0.1967, allocations: 1.291 MB / 0.6359 GB, free: 14.44 MB / 458.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches