Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.000988, allocations: 114 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8105/0.8105, allocations: 119.3 MB / 460.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.92 kB / 0.5391 GB, free: 43.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1304, allocations: 80.69 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000): time 0.003036/0.1335, allocations: 1.645 MB / 0.6195 GB, free: 11.07 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1349, allocations: 0.8692 MB / 0.6204 GB, free: 10.2 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.135, allocations: 0 / 0.6204 GB, free: 10.2 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01689/0.1519, allocations: 27.38 MB / 0.6471 GB, free: 14.75 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008323/0.1603, allocations: 13.76 MB / 0.6606 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.1607, allocations: 90.83 kB / 0.6606 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.4735/0.6342, allocations: 34.03 MB / 0.6939 GB, free: 40.3 MB / 0.495 GB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.6343, allocations: 7.109 kB / 0.6939 GB, free: 40.3 MB / 0.495 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01968/0.6539, allocations: 16.9 MB / 0.7104 GB, free: 40.05 MB / 0.495 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03375/0.6877, allocations: 30.31 MB / 0.74 GB, free: 27.25 MB / 0.495 GB Notification: Performance of NFPackage.collectConstants: time 0.007075/0.6948, allocations: 1.958 MB / 0.7419 GB, free: 25.29 MB / 0.495 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006419/0.7013, allocations: 1.984 MB / 0.7438 GB, free: 23.31 MB / 0.495 GB Notification: Performance of NFScalarize.scalarize: time 0.06837/0.7697, allocations: 79.61 MB / 0.8216 GB, free: 7.926 MB / 0.5575 GB Notification: Performance of NFVerifyModel.verify: time 0.06593/0.8357, allocations: 44.95 MB / 0.8655 GB, free: 10.53 MB / 0.6044 GB Notification: Performance of NFConvertDAE.convert: time 0.6159/1.452, allocations: 94.82 MB / 0.9581 GB, free: 104.3 MB / 0.6828 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.452, allocations: 0.9062 kB / 0.9581 GB, free: 104.3 MB / 0.6828 GB Notification: Performance of FrontEnd: time 2.345e-06/1.452, allocations: 0 / 0.9581 GB, free: 104.3 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.00318/1.455, allocations: 0 / 0.9581 GB, free: 104.3 MB / 0.6828 GB 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.2307/1.686, allocations: 153.9 MB / 1.108 GB, free: 3.344 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.686, allocations: 8.875 kB / 1.108 GB, free: 3.344 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/1.712, allocations: 17.59 MB / 1.126 GB, free: 4.449 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.524/3.237, allocations: 206 MB / 1.327 GB, free: 238.6 MB / 0.8395 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/3.237, allocations: 8.031 kB / 1.327 GB, free: 238.6 MB / 0.8395 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/3.237, allocations: 4.094 kB / 1.327 GB, free: 238.6 MB / 0.8395 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/3.237, allocations: 50.3 kB / 1.327 GB, free: 238.5 MB / 0.8395 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/3.237, allocations: 0 / 1.327 GB, free: 238.5 MB / 0.8395 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/3.237, allocations: 4.906 kB / 1.327 GB, free: 238.5 MB / 0.8395 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/3.237, allocations: 1.688 kB / 1.327 GB, free: 238.5 MB / 0.8395 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.377e-05/3.237, allocations: 18.73 kB / 1.327 GB, free: 238.5 MB / 0.8395 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.088/3.325, allocations: 54.45 MB / 1.38 GB, free: 207.4 MB / 0.8395 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/3.326, allocations: 58.02 kB / 1.38 GB, free: 207.3 MB / 0.8395 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/3.326, allocations: 16.86 kB / 1.38 GB, free: 207.3 MB / 0.8395 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/3.326, allocations: 7.062 kB / 1.38 GB, free: 207.3 MB / 0.8395 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/3.326, allocations: 70.44 kB / 1.38 GB, free: 207.3 MB / 0.8395 GB Notification: Performance of pre-optimization done (n=5): time 2.585e-06/3.326, allocations: 0 / 1.38 GB, free: 207.3 MB / 0.8395 GB Notification: Performance of matching and sorting (n=5): time 0.03205/3.358, allocations: 18.17 MB / 1.398 GB, free: 204.9 MB / 0.8395 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/3.358, allocations: 55.34 kB / 1.398 GB, free: 204.8 MB / 0.8395 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3403/3.698, allocations: 201.9 MB / 1.595 GB, free: 11.25 MB / 0.8395 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/3.699, allocations: 29.64 kB / 1.595 GB, free: 11.22 MB / 0.8395 GB Notification: Performance of collectInitialEqns (initialization): time 0.5412/4.24, allocations: 101.8 MB / 1.695 GB, free: 174 MB / 0.8395 GB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/4.24, allocations: 10.94 kB / 1.695 GB, free: 174 MB / 0.8395 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/4.24, allocations: 21.44 kB / 1.695 GB, free: 174 MB / 0.8395 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/4.24, allocations: 310 kB / 1.695 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.913e-05/4.24, allocations: 17.95 kB / 1.695 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/4.24, allocations: 31.95 kB / 1.695 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/4.24, allocations: 47.8 kB / 1.695 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/4.24, allocations: 0 / 1.695 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.04361/4.284, allocations: 18.15 MB / 1.713 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/4.284, allocations: 6.125 kB / 1.713 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/4.284, allocations: 0 / 1.713 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/4.284, allocations: 0 / 1.713 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/4.284, allocations: 15.16 kB / 1.713 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/4.284, allocations: 3.062 kB / 1.713 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03622/4.321, allocations: 0.495 MB / 1.713 GB, free: 173.6 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/4.321, allocations: 3.031 kB / 1.713 GB, free: 173.6 MB / 0.8395 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.07243/4.393, allocations: 37.22 MB / 1.75 GB, free: 169.5 MB / 0.8395 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03305/4.426, allocations: 18.56 MB / 1.768 GB, free: 165.4 MB / 0.8395 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03518/4.461, allocations: 20.45 MB / 1.788 GB, free: 158.9 MB / 0.8395 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/4.461, allocations: 3.75 kB / 1.788 GB, free: 158.9 MB / 0.8395 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/4.461, allocations: 4.828 kB / 1.788 GB, free: 158.9 MB / 0.8395 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/4.461, allocations: 0 / 1.788 GB, free: 158.9 MB / 0.8395 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1262/4.588, allocations: 59.83 MB / 1.846 GB, free: 104.8 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/4.588, allocations: 1.312 kB / 1.846 GB, free: 104.8 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/4.588, allocations: 4 kB / 1.846 GB, free: 104.8 MB / 0.8395 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/4.588, allocations: 2.688 kB / 1.846 GB, free: 104.8 MB / 0.8395 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/4.588, allocations: 3.938 kB / 1.846 GB, free: 104.8 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/4.588, allocations: 6 kB / 1.846 GB, free: 104.8 MB / 0.8395 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/4.588, allocations: 0 / 1.846 GB, free: 104.8 MB / 0.8395 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.108/4.696, allocations: 64.54 MB / 1.909 GB, free: 39.66 MB / 0.8395 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03566/4.732, allocations: 13.76 MB / 1.923 GB, free: 25.66 MB / 0.8395 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02158/4.753, allocations: 0.4921 MB / 1.923 GB, free: 25.16 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02247/4.776, allocations: 0.4961 MB / 1.924 GB, free: 24.67 MB / 0.8395 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/4.776, allocations: 2.766 kB / 1.924 GB, free: 24.67 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/4.776, allocations: 8 kB / 1.924 GB, free: 24.66 MB / 0.8395 GB Notification: Performance of sorting global known variables: time 0.7098/5.486, allocations: 139.9 MB / 2.06 GB, free: 188 MB / 0.8395 GB Notification: Performance of sort global known variables: time 1.102e-06/5.486, allocations: 0 / 2.06 GB, free: 188 MB / 0.8395 GB Notification: Performance of remove unused functions: time 0.03067/5.516, allocations: 4.899 MB / 2.065 GB, free: 188 MB / 0.8395 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.0009184/5.517, allocations: 405.8 kB / 2.065 GB, free: 187.9 MB / 0.8395 GB Notification: Performance of simCode: created initialization part: time 0.0002061/5.517, allocations: 43.48 kB / 2.065 GB, free: 187.8 MB / 0.8395 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/5.517, allocations: 0 / 2.065 GB, free: 187.8 MB / 0.8395 GB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/5.518, allocations: 25.86 kB / 2.065 GB, free: 187.8 MB / 0.8395 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08411/5.602, allocations: 13.5 MB / 2.079 GB, free: 175.5 MB / 0.8395 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9541/6.556, allocations: 329 MB / 2.4 GB, free: 178.9 MB / 0.8551 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1628/6.719, allocations: 68.48 MB / 2.467 GB, free: 124.4 MB / 0.8551 GB Notification: Performance of simCode: alias equations: time 0.1493/6.868, allocations: 45.37 MB / 2.511 GB, free: 81.09 MB / 0.8551 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05375/6.922, allocations: 17.6 MB / 2.528 GB, free: 63.48 MB / 0.8551 GB Notification: Performance of SimCode: time 1.062e-06/6.922, allocations: 0 / 2.528 GB, free: 63.48 MB / 0.8551 GB Notification: Performance of Templates: time 2.521/9.443, allocations: 0.5001 GB / 3.028 GB, free: 193.5 MB / 0.9176 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches