Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001121/0.001121, 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.308/1.308, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.0007794/0.0007794, allocations: 89.42 kB / 294.4 MB, free: 9.504 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.7466/0.7466, allocations: 120.5 MB / 465.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8 kB / 0.5464 GB, free: 41.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 82.84 MB / 0.6273 GB, free: 7.871 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001583/0.164, allocations: 1.127 MB / 0.6284 GB, free: 6.734 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1651, allocations: 0.7952 MB / 0.6292 GB, free: 5.879 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1652, allocations: 0 / 0.6292 GB, free: 5.879 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.1674, allocations: 3.426 MB / 0.6325 GB, free: 2.445 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.1697, allocations: 3.465 MB / 0.6359 GB, free: 14.97 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1699, allocations: 59.88 kB / 0.6359 GB, free: 14.91 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.006306/0.1763, allocations: 8.547 MB / 0.6443 GB, free: 6.355 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.1763, allocations: 0 / 0.6443 GB, free: 6.355 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.1813, allocations: 4.25 MB / 0.6484 GB, free: 2.098 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007017/0.1884, allocations: 7.592 MB / 0.6559 GB, free: 10.49 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.1896, allocations: 500 kB / 0.6563 GB, free: 10 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1907, allocations: 0.5546 MB / 0.6569 GB, free: 9.449 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01795/0.2086, allocations: 19.91 MB / 0.6763 GB, free: 5.488 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0158/0.2245, allocations: 11.27 MB / 0.6873 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.5667/0.7912, allocations: 23.64 MB / 0.7104 GB, free: 44.89 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.7913, allocations: 0.9688 kB / 0.7104 GB, free: 44.89 MB / 0.495 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7913, allocations: 0 / 0.7104 GB, free: 44.89 MB / 0.495 GB Notification: Performance of Transformations before backend: time 0.001869/0.7931, allocations: 0 / 0.7104 GB, free: 44.89 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.06668/0.8598, allocations: 34.1 MB / 0.7437 GB, free: 22.27 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.8599, allocations: 10.81 kB / 0.7437 GB, free: 22.27 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008534/0.8685, allocations: 4.41 MB / 0.748 GB, free: 19.77 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.136/1.004, allocations: 51.57 MB / 0.7984 GB, free: 2.832 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/1.005, allocations: 6.719 kB / 0.7984 GB, free: 2.828 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/1.005, allocations: 128.4 kB / 0.7985 GB, free: 2.703 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.007, allocations: 1.52 MB / 0.8 GB, free: 1.176 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.007, allocations: 7.312 kB / 0.8 GB, free: 1.172 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/1.007, allocations: 124 kB / 0.8001 GB, free: 1.051 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.007, allocations: 0 / 0.8001 GB, free: 1.051 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.008, allocations: 0.8718 MB / 0.801 GB, free: 184 kB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/1.045, allocations: 13.85 MB / 0.8145 GB, free: 2.27 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/1.047, allocations: 0.5259 MB / 0.815 GB, free: 1.734 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009236/1.048, allocations: 0.5143 MB / 0.8155 GB, free: 1.219 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/1.048, allocations: 4 kB / 0.8155 GB, free: 1.215 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/1.05, allocations: 1.326 MB / 0.8168 GB, free: 15.87 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=8): time 3.376e-06/1.05, allocations: 0 / 0.8168 GB, free: 15.87 MB / 0.5575 GB Notification: Performance of matching and sorting (n=8): time 0.01389/1.064, allocations: 8.319 MB / 0.8249 GB, free: 7.488 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/1.064, allocations: 77.11 kB / 0.825 GB, free: 7.395 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1251/1.189, allocations: 49.09 MB / 0.8729 GB, free: 6.715 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.001224/1.19, allocations: 149.7 kB / 0.8731 GB, free: 6.562 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.03844/1.229, allocations: 22.56 MB / 0.8951 GB, free: 15.99 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.23, allocations: 147.6 kB / 0.8953 GB, free: 15.85 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009626/1.231, allocations: 129 kB / 0.8954 GB, free: 15.73 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.231, allocations: 309.9 kB / 0.8957 GB, free: 15.42 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/1.234, allocations: 0.5 MB / 0.8962 GB, free: 14.92 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009603/1.235, allocations: 0.5078 MB / 0.8967 GB, free: 14.41 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/1.236, allocations: 1.081 MB / 0.8977 GB, free: 13.32 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.236, allocations: 3 kB / 0.8977 GB, free: 13.32 MB / 0.6357 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01162/1.248, allocations: 7.819 MB / 0.9054 GB, free: 5.434 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/1.248, allocations: 37.64 kB / 0.9054 GB, free: 5.391 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.248, allocations: 0 / 0.9054 GB, free: 5.391 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.248, allocations: 6.609 kB / 0.9054 GB, free: 5.387 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/1.248, allocations: 4 kB / 0.9054 GB, free: 5.383 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/1.248, allocations: 0 / 0.9054 GB, free: 5.383 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/1.254, allocations: 131 kB / 0.9055 GB, free: 5.258 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002837/1.257, allocations: 1.716 MB / 0.9072 GB, free: 3.543 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.02512/1.283, allocations: 9.671 MB / 0.9166 GB, free: 9.852 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008951/1.292, allocations: 4.531 MB / 0.9211 GB, free: 5.262 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/1.31, allocations: 5.115 MB / 0.9261 GB, free: 136 kB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/1.31, allocations: 0 / 0.9261 GB, free: 136 kB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.31, allocations: 3.094 kB / 0.9261 GB, free: 136 kB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.31, allocations: 3 kB / 0.9261 GB, free: 136 kB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04911/1.359, allocations: 15.07 MB / 0.9408 GB, free: 0.9961 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.359, allocations: 4 kB / 0.9408 GB, free: 0.9922 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/1.359, allocations: 0 / 0.9408 GB, free: 0.9922 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/1.359, allocations: 7.688 kB / 0.9408 GB, free: 0.9883 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00188/1.361, allocations: 388 kB / 0.9412 GB, free: 0.6094 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.361, allocations: 240 / 0.9412 GB, free: 0.6094 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.361, allocations: 0.5 kB / 0.9412 GB, free: 0.6094 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.373, allocations: 8.153 MB / 0.9491 GB, free: 8.375 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009883/1.383, allocations: 3.879 MB / 0.9529 GB, free: 4.422 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004085/1.387, allocations: 131.8 kB / 0.953 GB, free: 4.297 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004705/1.392, allocations: 128.9 kB / 0.9532 GB, free: 4.172 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/1.392, allocations: 0 / 0.9532 GB, free: 4.172 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002329/1.395, allocations: 1.722 MB / 0.9548 GB, free: 2.453 MB / 0.6825 GB Notification: Performance of sorting global known variables: time 0.6755/2.07, allocations: 34 MB / 0.9881 GB, free: 217.5 MB / 0.6828 GB Notification: Performance of sort global known variables: time 9.42e-07/2.07, allocations: 3.375 kB / 0.9881 GB, free: 217.5 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.006079/2.076, allocations: 1.25 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.0007122/2.077, allocations: 252.6 kB / 0.9895 GB, free: 216.6 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.001783/2.079, allocations: 1.229 MB / 0.9907 GB, free: 215.4 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.079, allocations: 0 / 0.9907 GB, free: 215.4 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0009658/2.08, allocations: 0.7199 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.0178/2.098, allocations: 3.375 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.128/2.226, allocations: 79.39 MB / 1.072 GB, free: 132.3 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04206/2.268, allocations: 17.33 MB / 1.089 GB, free: 115 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.03302/2.301, allocations: 9.326 MB / 1.098 GB, free: 105.6 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003336/2.304, allocations: 1.964 MB / 1.1 GB, free: 103.7 MB / 0.6828 GB Notification: Performance of SimCode: time 1.323e-06/2.304, allocations: 0 / 1.1 GB, free: 103.7 MB / 0.6828 GB Notification: Performance of Templates: time 0.778/3.082, allocations: 164.5 MB / 1.261 GB, free: 199 MB / 0.6984 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches