Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 183.1 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.286/1.286, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0008022/0.0008022, allocations: 95.06 kB / 294.4 MB, free: 9.527 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.8283/0.8283, allocations: 120.5 MB / 465.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8 kB / 0.5464 GB, free: 41.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 82.85 MB / 0.6273 GB, free: 7.895 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.001474/0.1598, allocations: 1.123 MB / 0.6284 GB, free: 6.762 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1609, allocations: 0.7952 MB / 0.6292 GB, free: 5.906 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.1609, allocations: 0 / 0.6292 GB, free: 5.906 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.1655, allocations: 6.849 MB / 0.6358 GB, free: 15.04 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.1701, allocations: 6.884 MB / 0.6426 GB, free: 8.145 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1704, allocations: 59.88 kB / 0.6426 GB, free: 8.086 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.01259/0.183, allocations: 17.02 MB / 0.6592 GB, free: 7.047 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.1831, allocations: 4 kB / 0.6592 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.1934, allocations: 8.458 MB / 0.6675 GB, free: 14.57 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01724/0.2107, allocations: 15.17 MB / 0.6823 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.004472/0.2152, allocations: 0.9882 MB / 0.6833 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.2185, allocations: 1.039 MB / 0.6843 GB, free: 13.34 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.5422/0.7607, allocations: 39.8 MB / 0.7232 GB, free: 38.9 MB / 0.495 GB Notification: Performance of NFVerifyModel.verify: time 0.03188/0.7926, allocations: 22.5 MB / 0.7451 GB, free: 21.06 MB / 0.495 GB Notification: Performance of NFConvertDAE.convert: time 0.05578/0.8484, allocations: 47.2 MB / 0.7912 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.8485, allocations: 4 kB / 0.7912 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of FrontEnd: time 2.966e-06/0.8485, allocations: 0 / 0.7912 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 0.002389/0.8509, allocations: 0 / 0.7912 GB, free: 14.84 MB / 0.5263 GB 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.09171/0.9426, allocations: 67.84 MB / 0.8575 GB, free: 10.34 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.9427, allocations: 11.97 kB / 0.8575 GB, free: 10.34 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/0.96, allocations: 8.798 MB / 0.8661 GB, free: 1.422 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9708/1.931, allocations: 103 MB / 0.9667 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/1.931, allocations: 5.938 kB / 0.9667 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003701/1.935, allocations: 256.1 kB / 0.967 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/1.949, allocations: 2.979 MB / 0.9699 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.949, allocations: 1 kB / 0.9699 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007323/1.95, allocations: 250.4 kB / 0.9701 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.95, allocations: 1.406 kB / 0.9701 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/1.953, allocations: 1.736 MB / 0.9718 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05549/2.009, allocations: 27.55 MB / 0.9987 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/2.017, allocations: 1.016 MB / 0.9997 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005481/2.022, allocations: 1.007 MB / 1.001 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/2.022, allocations: 0 / 1.001 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003304/2.026, allocations: 2.537 MB / 1.003 GB, free: 155.5 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=8): time 3.236e-06/2.026, allocations: 0 / 1.003 GB, free: 155.5 MB / 0.6828 GB Notification: Performance of matching and sorting (n=8): time 0.02662/2.052, allocations: 16.49 MB / 1.019 GB, free: 155.4 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/2.052, allocations: 79.8 kB / 1.019 GB, free: 155.3 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1751/2.227, allocations: 98.09 MB / 1.115 GB, free: 67.73 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.00377/2.231, allocations: 284.7 kB / 1.115 GB, free: 67.45 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.0467/2.278, allocations: 46.97 MB / 1.161 GB, free: 20.45 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.004006/2.282, allocations: 264.8 kB / 1.162 GB, free: 20.2 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008502/2.283, allocations: 252 kB / 1.162 GB, free: 19.96 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/2.283, allocations: 309.9 kB / 1.162 GB, free: 19.65 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/2.284, allocations: 0.9992 MB / 1.163 GB, free: 18.65 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/2.286, allocations: 0.9912 MB / 1.164 GB, free: 17.66 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/2.289, allocations: 2.059 MB / 1.166 GB, free: 15.59 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.289, allocations: 0 / 1.166 GB, free: 15.59 MB / 0.6828 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02501/2.314, allocations: 15.51 MB / 1.181 GB, free: 4.949 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/2.314, allocations: 37.69 kB / 1.181 GB, free: 4.906 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/2.314, allocations: 4 kB / 1.181 GB, free: 4.902 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/2.314, allocations: 0 / 1.181 GB, free: 4.902 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/2.314, allocations: 4 kB / 1.181 GB, free: 4.898 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/2.314, allocations: 3 kB / 1.181 GB, free: 4.898 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0136/2.328, allocations: 259 kB / 1.181 GB, free: 4.648 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01097/2.339, allocations: 3.426 MB / 1.185 GB, free: 1.223 MB / 0.6828 GB 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.03842/2.377, allocations: 19.19 MB / 1.204 GB, free: 14 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01894/2.396, allocations: 9.043 MB / 1.212 GB, free: 4.836 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02581/2.422, allocations: 10.22 MB / 1.222 GB, free: 10.6 MB / 0.7297 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/2.422, allocations: 6.5 kB / 1.222 GB, free: 10.59 MB / 0.7297 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/2.422, allocations: 0 / 1.222 GB, free: 10.59 MB / 0.7297 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/2.422, allocations: 3.938 kB / 1.222 GB, free: 10.59 MB / 0.7297 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3642/2.786, allocations: 29.99 MB / 1.252 GB, free: 229.8 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/2.786, allocations: 0 / 1.252 GB, free: 229.8 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/2.786, allocations: 5.875 kB / 1.252 GB, free: 229.8 MB / 0.7453 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/2.786, allocations: 1.281 kB / 1.252 GB, free: 229.8 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004137/2.791, allocations: 0.7376 MB / 1.252 GB, free: 229.8 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/2.791, allocations: 3.469 kB / 1.252 GB, free: 229.8 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.791, allocations: 1.5 kB / 1.252 GB, free: 229.8 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0276/2.818, allocations: 16.14 MB / 1.268 GB, free: 229.1 MB / 0.7453 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01921/2.838, allocations: 7.653 MB / 1.276 GB, free: 229 MB / 0.7453 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01084/2.848, allocations: 256.7 kB / 1.276 GB, free: 229 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01233/2.861, allocations: 259.3 kB / 1.276 GB, free: 229 MB / 0.7453 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/2.861, allocations: 4.938 kB / 1.276 GB, free: 229 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01353/2.874, allocations: 3.421 MB / 1.279 GB, free: 228.6 MB / 0.7453 GB Notification: Performance of sorting global known variables: time 0.1444/3.019, allocations: 68 MB / 1.346 GB, free: 196.5 MB / 0.7453 GB Notification: Performance of sort global known variables: time 9.62e-07/3.019, allocations: 2.625 kB / 1.346 GB, free: 196.5 MB / 0.7453 GB Notification: Performance of remove unused functions: time 0.01515/3.034, allocations: 2.478 MB / 1.348 GB, free: 194 MB / 0.7453 GB 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.00345/3.038, allocations: 380 kB / 1.349 GB, free: 193.6 MB / 0.7453 GB Notification: Performance of simCode: created initialization part: time 0.01169/3.049, allocations: 2.332 MB / 1.351 GB, free: 191.3 MB / 0.7453 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.049, allocations: 0 / 1.351 GB, free: 191.3 MB / 0.7453 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/3.051, allocations: 1.33 MB / 1.352 GB, free: 189.9 MB / 0.7453 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05261/3.104, allocations: 6.746 MB / 1.359 GB, free: 183.2 MB / 0.7453 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2364/3.341, allocations: 161.5 MB / 1.517 GB, free: 22.23 MB / 0.7453 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4044/3.745, allocations: 34.37 MB / 1.55 GB, free: 191.9 MB / 0.7453 GB Notification: Performance of simCode: alias equations: time 0.06124/3.806, allocations: 18.65 MB / 1.568 GB, free: 185.7 MB / 0.7453 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/3.816, allocations: 3.916 MB / 1.572 GB, free: 185.7 MB / 0.7453 GB Notification: Performance of SimCode: time 1.323e-06/3.816, allocations: 1 kB / 1.572 GB, free: 185.7 MB / 0.7453 GB Notification: Performance of Templates: time 1.213/5.029, allocations: 333.9 MB / 1.898 GB, free: 162.2 MB / 0.7609 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches