Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 178.2 kB / 16.71 MB, free: 5.062 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.5/1.5, allocations: 225.7 MB / 243.2 MB, free: 8.477 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.00102/0.00102, allocations: 89.8 kB / 294.4 MB, free: 9.52 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.9997/0.9997, allocations: 120.5 MB / 465.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005043, allocations: 11.94 kB / 0.5464 GB, free: 41.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1946, allocations: 82.84 MB / 0.6273 GB, free: 7.891 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001877/0.1965, allocations: 1.123 MB / 0.6284 GB, free: 6.758 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1979, allocations: 0.7991 MB / 0.6292 GB, free: 5.898 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.198, allocations: 0 / 0.6292 GB, free: 5.898 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.2009, allocations: 3.426 MB / 0.6325 GB, free: 2.465 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.2035, allocations: 3.465 MB / 0.6359 GB, free: 14.99 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.204, allocations: 55.88 kB / 0.6359 GB, free: 14.94 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.007417/0.2114, allocations: 8.547 MB / 0.6443 GB, free: 6.379 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.2115, allocations: 11.97 kB / 0.6443 GB, free: 6.367 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.2181, allocations: 4.243 MB / 0.6484 GB, free: 2.117 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.2301, allocations: 7.596 MB / 0.6559 GB, free: 10.51 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002574/0.2327, allocations: 500 kB / 0.6563 GB, free: 10.02 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.2352, allocations: 0.5546 MB / 0.6569 GB, free: 9.465 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02236/0.2575, allocations: 19.9 MB / 0.6763 GB, free: 5.504 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02481/0.2824, allocations: 11.27 MB / 0.6873 GB, free: 10.11 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.6724/0.9549, allocations: 23.64 MB / 0.7104 GB, free: 44.9 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.9549, allocations: 1.375 kB / 0.7104 GB, free: 44.9 MB / 0.495 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9549, allocations: 0 / 0.7104 GB, free: 44.9 MB / 0.495 GB Notification: Performance of Transformations before backend: time 0.0025/0.9574, allocations: 0 / 0.7104 GB, free: 44.9 MB / 0.495 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.07806/1.036, allocations: 34.1 MB / 0.7437 GB, free: 22.29 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/1.036, allocations: 9.312 kB / 0.7437 GB, free: 22.29 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/1.046, allocations: 4.409 MB / 0.748 GB, free: 19.79 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1883/1.234, allocations: 51.57 MB / 0.7984 GB, free: 2.848 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/1.234, allocations: 5.156 kB / 0.7984 GB, free: 2.844 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/1.235, allocations: 124.4 kB / 0.7985 GB, free: 2.723 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/1.238, allocations: 1.515 MB / 0.8 GB, free: 1.203 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.238, allocations: 7.312 kB / 0.8 GB, free: 1.199 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004245/1.238, allocations: 132 kB / 0.8001 GB, free: 1.07 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.238, allocations: 0 / 0.8001 GB, free: 1.07 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/1.24, allocations: 0.8672 MB / 0.801 GB, free: 208 kB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05693/1.297, allocations: 13.85 MB / 0.8145 GB, free: 2.289 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.3, allocations: 0.5267 MB / 0.815 GB, free: 1.754 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008936/1.301, allocations: 0.5196 MB / 0.8155 GB, free: 1.234 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/1.301, allocations: 0 / 0.8155 GB, free: 1.234 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/1.302, allocations: 1.323 MB / 0.8168 GB, free: 15.89 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/1.302, allocations: 0 / 0.8168 GB, free: 15.89 MB / 0.5575 GB Notification: Performance of matching and sorting (n=8): time 0.01383/1.316, allocations: 8.319 MB / 0.8249 GB, free: 7.508 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.316, allocations: 84.09 kB / 0.825 GB, free: 7.41 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1491/1.466, allocations: 49.09 MB / 0.873 GB, free: 6.73 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.001395/1.467, allocations: 149.7 kB / 0.8731 GB, free: 6.578 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.04453/1.512, allocations: 22.55 MB / 0.8951 GB, free: 16 kB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.513, allocations: 147.8 kB / 0.8953 GB, free: 15.87 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/1.513, allocations: 128 kB / 0.8954 GB, free: 15.74 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.513, allocations: 310.9 kB / 0.8957 GB, free: 15.44 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/1.514, allocations: 0.5068 MB / 0.8962 GB, free: 14.93 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/1.515, allocations: 0.5039 MB / 0.8967 GB, free: 14.43 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/1.517, allocations: 1.081 MB / 0.8977 GB, free: 13.34 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.517, allocations: 0 / 0.8977 GB, free: 13.34 MB / 0.6357 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01927/1.536, allocations: 7.818 MB / 0.9054 GB, free: 5.453 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/1.536, allocations: 37.64 kB / 0.9054 GB, free: 5.41 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.536, allocations: 0 / 0.9054 GB, free: 5.41 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/1.536, allocations: 3 kB / 0.9054 GB, free: 5.41 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/1.537, allocations: 10.61 kB / 0.9054 GB, free: 5.402 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.537, allocations: 0 / 0.9054 GB, free: 5.402 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/1.547, allocations: 128 kB / 0.9055 GB, free: 5.277 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003929/1.551, allocations: 1.715 MB / 0.9072 GB, free: 3.562 MB / 0.6357 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.02899/1.58, allocations: 9.669 MB / 0.9166 GB, free: 9.871 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01211/1.592, allocations: 4.53 MB / 0.9211 GB, free: 5.285 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02168/1.614, allocations: 5.115 MB / 0.9261 GB, free: 160 kB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.614, allocations: 4 kB / 0.9261 GB, free: 156 kB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.614, allocations: 0 / 0.9261 GB, free: 156 kB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/1.614, allocations: 3.094 kB / 0.9261 GB, free: 156 kB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06648/1.68, allocations: 15.07 MB / 0.9408 GB, free: 1.02 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.681, allocations: 0 / 0.9408 GB, free: 1.02 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/1.681, allocations: 11.75 kB / 0.9408 GB, free: 1.012 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/1.681, allocations: 6.938 kB / 0.9408 GB, free: 1.008 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002131/1.683, allocations: 384 kB / 0.9412 GB, free: 0.6328 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/1.683, allocations: 1.312 kB / 0.9412 GB, free: 0.6328 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.683, allocations: 0 / 0.9412 GB, free: 0.6328 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/1.699, allocations: 8.151 MB / 0.9491 GB, free: 8.398 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01252/1.711, allocations: 3.882 MB / 0.9529 GB, free: 4.445 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004761/1.716, allocations: 128 kB / 0.953 GB, free: 4.32 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005139/1.721, allocations: 135.7 kB / 0.9532 GB, free: 4.195 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/1.721, allocations: 0 / 0.9532 GB, free: 4.195 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001851/1.723, allocations: 1.719 MB / 0.9548 GB, free: 2.477 MB / 0.6825 GB Notification: Performance of sorting global known variables: time 0.8254/2.549, allocations: 34 MB / 0.9881 GB, free: 217.5 MB / 0.6828 GB Notification: Performance of sort global known variables: time 6.41e-07/2.549, allocations: 0 / 0.9881 GB, free: 217.5 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.006415/2.555, allocations: 1.254 MB / 0.9893 GB, free: 216.9 MB / 0.6828 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.0006287/2.556, allocations: 251.2 kB / 0.9895 GB, free: 216.7 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.001929/2.558, allocations: 1.227 MB / 0.9907 GB, free: 215.4 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/2.558, allocations: 3.531 kB / 0.9907 GB, free: 215.4 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/2.559, allocations: 0.72 MB / 0.9914 GB, free: 214.7 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02273/2.582, allocations: 3.383 MB / 0.9947 GB, free: 211.3 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.141/2.723, allocations: 79.38 MB / 1.072 GB, free: 132.4 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04825/2.771, allocations: 17.33 MB / 1.089 GB, free: 115 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.03641/2.807, allocations: 9.326 MB / 1.098 GB, free: 105.7 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004367/2.812, allocations: 1.96 MB / 1.1 GB, free: 103.7 MB / 0.6828 GB Notification: Performance of SimCode: time 2.294e-06/2.812, allocations: 0 / 1.1 GB, free: 103.7 MB / 0.6828 GB Notification: Performance of Templates: time 0.8611/3.673, allocations: 164.5 MB / 1.261 GB, free: 198.9 MB / 0.6984 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches