Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 178.6 kB / 16.71 MB, free: 4.961 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.314/1.314, allocations: 225.7 MB / 243.2 MB, free: 8.461 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.0007852/0.0007853, allocations: 90.78 kB / 294.4 MB, free: 9.492 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.7527/0.7527, allocations: 120.4 MB / 465.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 12 kB / 0.5464 GB, free: 41.35 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 82.84 MB / 0.6273 GB, free: 7.863 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001435/0.146, allocations: 1.131 MB / 0.6284 GB, free: 6.723 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.147, allocations: 0.7836 MB / 0.6292 GB, free: 5.879 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.1471, allocations: 3.938 kB / 0.6292 GB, free: 5.875 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1482, allocations: 1.715 MB / 0.6308 GB, free: 4.156 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.1494, allocations: 1.758 MB / 0.6325 GB, free: 2.395 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1497, allocations: 63.88 kB / 0.6326 GB, free: 2.332 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.1529, allocations: 4.295 MB / 0.6368 GB, free: 14.03 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.153, allocations: 7.938 kB / 0.6368 GB, free: 14.02 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.1562, allocations: 2.141 MB / 0.6389 GB, free: 11.88 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.1599, allocations: 3.814 MB / 0.6426 GB, free: 8.059 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005601/0.1605, allocations: 252 kB / 0.6429 GB, free: 7.812 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005759/0.1611, allocations: 311.9 kB / 0.6432 GB, free: 7.508 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009036/0.1702, allocations: 9.958 MB / 0.6529 GB, free: 13.52 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009043/0.1792, allocations: 5.661 MB / 0.6584 GB, free: 7.801 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.193, allocations: 11.87 MB / 0.67 GB, free: 11.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.193, allocations: 0 / 0.67 GB, free: 11.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.276e-06/0.193, allocations: 0 / 0.67 GB, free: 11.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0005829/0.1936, allocations: 4 kB / 0.67 GB, free: 11.86 MB / 490.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.02694/0.2206, allocations: 17.24 MB / 0.6868 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.2206, allocations: 8.031 kB / 0.6868 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.2257, allocations: 2.202 MB / 0.689 GB, free: 8.188 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6195/0.8452, allocations: 25.82 MB / 0.7142 GB, free: 51.16 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.8453, allocations: 1.594 kB / 0.7142 GB, free: 51.16 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.8455, allocations: 64.16 kB / 0.7143 GB, free: 51.16 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.8467, allocations: 0.7827 MB / 0.715 GB, free: 50.94 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8468, allocations: 1.125 kB / 0.715 GB, free: 50.94 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.8469, allocations: 64.88 kB / 0.7151 GB, free: 50.94 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.847, allocations: 0 / 0.7151 GB, free: 50.94 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.8477, allocations: 459.9 kB / 0.7155 GB, free: 50.93 MB / 0.495 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.8621, allocations: 7.006 MB / 0.7224 GB, free: 46.87 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.8632, allocations: 285.8 kB / 0.7227 GB, free: 46.84 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.8637, allocations: 285 kB / 0.7229 GB, free: 46.81 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.8637, allocations: 0 / 0.7229 GB, free: 46.81 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007191/0.8645, allocations: 0.7008 MB / 0.7236 GB, free: 46.54 MB / 0.495 GB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/0.8645, allocations: 3.531 kB / 0.7236 GB, free: 46.54 MB / 0.495 GB Notification: Performance of matching and sorting (n=8): time 0.006337/0.8708, allocations: 4.231 MB / 0.7277 GB, free: 44.41 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.8709, allocations: 89.05 kB / 0.7278 GB, free: 44.3 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03638/0.9073, allocations: 24.59 MB / 0.7518 GB, free: 19.91 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.0009306/0.9082, allocations: 89.7 kB / 0.7519 GB, free: 19.82 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.01003/0.9183, allocations: 10.82 MB / 0.7625 GB, free: 8.988 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.9193, allocations: 85.42 kB / 0.7626 GB, free: 8.91 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.9195, allocations: 64 kB / 0.7626 GB, free: 8.848 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.9195, allocations: 318.7 kB / 0.7629 GB, free: 8.531 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.92, allocations: 263 kB / 0.7632 GB, free: 8.277 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.9204, allocations: 268 kB / 0.7635 GB, free: 8.016 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.9213, allocations: 0.5872 MB / 0.764 GB, free: 7.414 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9213, allocations: 0 / 0.764 GB, free: 7.414 MB / 0.495 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006673/0.928, allocations: 3.971 MB / 0.7679 GB, free: 3.402 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.928, allocations: 37.7 kB / 0.7679 GB, free: 3.359 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9281, allocations: 2.188 kB / 0.7679 GB, free: 3.359 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.9281, allocations: 0 / 0.7679 GB, free: 3.359 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.9282, allocations: 18.86 kB / 0.768 GB, free: 3.344 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.9282, allocations: 0 / 0.768 GB, free: 3.344 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/0.9326, allocations: 68 kB / 0.768 GB, free: 3.277 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007549/0.9333, allocations: 0.8555 MB / 0.7689 GB, free: 2.422 MB / 0.495 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.007606/0.9409, allocations: 4.91 MB / 0.7737 GB, free: 13.49 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005087/0.946, allocations: 2.269 MB / 0.7759 GB, free: 11.2 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007014/0.9531, allocations: 2.564 MB / 0.7784 GB, free: 8.621 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.9531, allocations: 4.031 kB / 0.7784 GB, free: 8.617 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9531, allocations: 3.938 kB / 0.7784 GB, free: 8.613 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.9531, allocations: 3.984 kB / 0.7784 GB, free: 8.609 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/0.9739, allocations: 7.615 MB / 0.7858 GB, free: 0.9453 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.974, allocations: 0 / 0.7858 GB, free: 0.9453 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.974, allocations: 0 / 0.7858 GB, free: 0.9453 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.974, allocations: 4 kB / 0.7858 GB, free: 0.9414 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009888/0.975, allocations: 195 kB / 0.786 GB, free: 0.7539 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.975, allocations: 3.938 kB / 0.786 GB, free: 0.75 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9751, allocations: 3.938 kB / 0.786 GB, free: 0.75 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00975/0.9848, allocations: 4.159 MB / 0.7901 GB, free: 12.54 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005943/0.9908, allocations: 1.987 MB / 0.792 GB, free: 10.5 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002623/0.9934, allocations: 67 kB / 0.7921 GB, free: 10.44 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/0.9964, allocations: 71.33 kB / 0.7922 GB, free: 10.37 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.9965, allocations: 8 kB / 0.7922 GB, free: 10.36 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00104/0.9975, allocations: 0.8594 MB / 0.793 GB, free: 9.504 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.03626/1.034, allocations: 16.99 MB / 0.8096 GB, free: 8.664 MB / 0.5419 GB Notification: Performance of sort global known variables: time 9.52e-07/1.034, allocations: 0 / 0.8096 GB, free: 8.664 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.005726/1.04, allocations: 0.6403 MB / 0.8102 GB, free: 8.027 MB / 0.5419 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.001058/1.041, allocations: 192.5 kB / 0.8104 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.002029/1.043, allocations: 0.6869 MB / 0.8111 GB, free: 7.141 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.043, allocations: 0 / 0.8111 GB, free: 7.141 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/1.043, allocations: 427.3 kB / 0.8115 GB, free: 6.711 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01258/1.056, allocations: 1.688 MB / 0.8131 GB, free: 5.02 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06133/1.117, allocations: 39.03 MB / 0.8512 GB, free: 14.18 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01556/1.133, allocations: 8.914 MB / 0.8599 GB, free: 5.227 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.01506/1.148, allocations: 4.694 MB / 0.8645 GB, free: 0.5234 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.15, allocations: 0.9839 MB / 0.8655 GB, free: 15.54 MB / 0.6044 GB Notification: Performance of SimCode: time 9.72e-07/1.15, allocations: 4 kB / 0.8655 GB, free: 15.54 MB / 0.6044 GB Notification: Performance of Templates: time 0.2294/1.38, allocations: 81.25 MB / 0.9448 GB, free: 14.16 MB / 0.6825 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches