Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.00092/0.00092, allocations: 178.8 kB / 16.71 MB, free: 5.09 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.391/1.391, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0008201/0.00082, allocations: 98.62 kB / 294.4 MB, free: 9.488 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.8457/0.8457, allocations: 120.5 MB / 465.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 11.94 kB / 0.5464 GB, free: 41.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 82.85 MB / 0.6273 GB, free: 7.855 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.002025/0.1635, allocations: 1.279 MB / 0.6285 GB, free: 6.566 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1651, allocations: 0.9737 MB / 0.6295 GB, free: 5.551 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.1652, allocations: 0 / 0.6295 GB, free: 5.551 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.1678, allocations: 3.461 MB / 0.6329 GB, free: 2.082 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.1693, allocations: 1.785 MB / 0.6346 GB, free: 300 kB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1697, allocations: 95.7 kB / 0.6347 GB, free: 204 kB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.1734, allocations: 4.338 MB / 0.6389 GB, free: 11.86 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.1735, allocations: 7.984 kB / 0.6389 GB, free: 11.85 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.1768, allocations: 2.156 MB / 0.641 GB, free: 9.688 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.181, allocations: 3.818 MB / 0.6448 GB, free: 5.863 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000622/0.1817, allocations: 256 kB / 0.645 GB, free: 5.613 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006166/0.1823, allocations: 276 kB / 0.6453 GB, free: 5.344 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009794/0.1921, allocations: 9.966 MB / 0.655 GB, free: 11.35 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.2025, allocations: 5.672 MB / 0.6606 GB, free: 5.617 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.2163, allocations: 11.86 MB / 0.6721 GB, free: 9.688 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.2163, allocations: 0 / 0.6721 GB, free: 9.688 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2163, allocations: 0 / 0.6721 GB, free: 9.688 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004545/0.2168, allocations: 0 / 0.6721 GB, free: 9.688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02423/0.241, allocations: 17.23 MB / 0.689 GB, free: 8.254 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.2411, allocations: 19.97 kB / 0.689 GB, free: 8.234 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/0.2453, allocations: 2.21 MB / 0.6911 GB, free: 5.996 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6692/0.9145, allocations: 25.86 MB / 0.7164 GB, free: 50.95 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.9146, allocations: 1.656 kB / 0.7164 GB, free: 50.95 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.9146, allocations: 3.219 kB / 0.7164 GB, free: 50.95 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.9148, allocations: 47.3 kB / 0.7164 GB, free: 50.91 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.9148, allocations: 0 / 0.7164 GB, free: 50.91 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.9148, allocations: 5.469 kB / 0.7165 GB, free: 50.9 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.9148, allocations: 0 / 0.7165 GB, free: 50.9 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.9149, allocations: 18.2 kB / 0.7165 GB, free: 50.89 MB / 0.495 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.9279, allocations: 6.95 MB / 0.7233 GB, free: 46.84 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.9281, allocations: 52.03 kB / 0.7233 GB, free: 46.8 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.9282, allocations: 19.69 kB / 0.7233 GB, free: 46.79 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.9282, allocations: 3.469 kB / 0.7233 GB, free: 46.79 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.9284, allocations: 64.98 kB / 0.7234 GB, free: 46.72 MB / 0.495 GB Notification: Performance of pre-optimization done (n=5): time 2.665e-06/0.9284, allocations: 0 / 0.7234 GB, free: 46.72 MB / 0.495 GB Notification: Performance of matching and sorting (n=5): time 0.004926/0.9333, allocations: 2.352 MB / 0.7257 GB, free: 45.41 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.9334, allocations: 55.34 kB / 0.7257 GB, free: 45.34 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03266/0.966, allocations: 25.12 MB / 0.7503 GB, free: 22.02 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.9661, allocations: 25.7 kB / 0.7503 GB, free: 21.98 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.009226/0.9754, allocations: 11.34 MB / 0.7614 GB, free: 10.64 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.9755, allocations: 23.73 kB / 0.7614 GB, free: 10.61 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.9755, allocations: 0 / 0.7614 GB, free: 10.61 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.9755, allocations: 309.6 kB / 0.7617 GB, free: 10.31 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.531e-05/0.9756, allocations: 12 kB / 0.7617 GB, free: 10.3 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.9757, allocations: 36.7 kB / 0.7617 GB, free: 10.26 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.578e-05/0.9758, allocations: 42.45 kB / 0.7618 GB, free: 10.21 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9758, allocations: 0 / 0.7618 GB, free: 10.21 MB / 0.495 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.005762/0.9816, allocations: 2.338 MB / 0.7641 GB, free: 7.84 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.9816, allocations: 7.938 kB / 0.7641 GB, free: 7.832 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9816, allocations: 0 / 0.7641 GB, free: 7.832 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.9817, allocations: 8.484 kB / 0.7641 GB, free: 7.828 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.9818, allocations: 15.92 kB / 0.7641 GB, free: 7.812 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.9818, allocations: 0.625 kB / 0.7641 GB, free: 7.812 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/0.9865, allocations: 64 kB / 0.7642 GB, free: 7.75 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.9866, allocations: 4 kB / 0.7642 GB, free: 7.746 MB / 0.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.00674/0.9933, allocations: 4.763 MB / 0.7688 GB, free: 2.977 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005751/0.9991, allocations: 2.326 MB / 0.7711 GB, free: 0.6211 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007768/1.007, allocations: 2.569 MB / 0.7736 GB, free: 14.05 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.007, allocations: 3.938 kB / 0.7736 GB, free: 14.04 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.007, allocations: 0 / 0.7736 GB, free: 14.04 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.007, allocations: 0 / 0.7736 GB, free: 14.04 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.029, allocations: 7.623 MB / 0.781 GB, free: 6.375 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.029, allocations: 0 / 0.781 GB, free: 6.375 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/1.029, allocations: 4 kB / 0.781 GB, free: 6.371 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.029, allocations: 5.859 kB / 0.781 GB, free: 6.367 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/1.029, allocations: 0 / 0.781 GB, free: 6.367 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/1.029, allocations: 7.875 kB / 0.7811 GB, free: 6.359 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.029, allocations: 4 kB / 0.7811 GB, free: 6.355 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009653/1.039, allocations: 2.562 MB / 0.7836 GB, free: 3.75 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008494/1.048, allocations: 1.983 MB / 0.7855 GB, free: 1.719 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004754/1.052, allocations: 60 kB / 0.7856 GB, free: 1.66 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004618/1.057, allocations: 71.94 kB / 0.7856 GB, free: 1.59 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/1.057, allocations: 5.312 kB / 0.7856 GB, free: 1.586 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/1.057, allocations: 4 kB / 0.7856 GB, free: 1.582 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.04553/1.103, allocations: 17.27 MB / 0.8025 GB, free: 480 kB / 0.5263 GB Notification: Performance of sort global known variables: time 1.002e-06/1.103, allocations: 0 / 0.8025 GB, free: 480 kB / 0.5263 GB Notification: Performance of remove unused functions: time 0.006172/1.109, allocations: 0.6328 MB / 0.8031 GB, free: 15.83 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001183/1.11, allocations: 474.3 kB / 0.8036 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002502/1.111, allocations: 42.92 kB / 0.8036 GB, free: 15.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.111, allocations: 4 kB / 0.8036 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/1.111, allocations: 23.92 kB / 0.8036 GB, free: 15.47 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02007/1.131, allocations: 1.708 MB / 0.8053 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07204/1.203, allocations: 39.07 MB / 0.8434 GB, free: 6.855 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01653/1.219, allocations: 8.931 MB / 0.8522 GB, free: 13.89 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.02104/1.241, allocations: 5.662 MB / 0.8577 GB, free: 8.211 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007695/1.248, allocations: 2.217 MB / 0.8599 GB, free: 5.996 MB / 0.5888 GB Notification: Performance of SimCode: time 1.303e-06/1.248, allocations: 0 / 0.8599 GB, free: 5.996 MB / 0.5888 GB Notification: Performance of Templates: time 0.2083/1.457, allocations: 59.51 MB / 0.918 GB, free: 10.43 MB / 0.6513 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches