Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.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.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 179.7 kB / 16.38 MB, free: 5.766 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.427/1.427, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001007/0.001007, allocations: 95.84 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9629/0.9629, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1754, allocations: 82.84 MB / 0.6242 GB, free: 9.215 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7763/0.9518, allocations: 129.2 MB / 0.7504 GB, free: 4.703 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001326/0.952, allocations: 46.67 kB / 0.7505 GB, free: 4.684 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 3.673/4.625, allocations: 0.6165 GB / 1.367 GB, free: 146.2 MB / 0.714 GB Notification: Performance of FrontEnd: time 3.987e-06/4.625, allocations: 0 / 1.367 GB, free: 146.2 MB / 0.714 GB Notification: Performance of Transformations before backend: time 0.005782/4.631, allocations: 500 kB / 1.367 GB, free: 145.7 MB / 0.714 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.06971/4.701, allocations: 34.75 MB / 1.401 GB, free: 113.9 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/4.701, allocations: 12.03 kB / 1.401 GB, free: 113.9 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/4.711, allocations: 4.527 MB / 1.406 GB, free: 109.3 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1545/4.865, allocations: 45.01 MB / 1.45 GB, free: 68.21 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/4.866, allocations: 0 / 1.45 GB, free: 68.21 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/4.866, allocations: 7.984 kB / 1.45 GB, free: 68.2 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/4.866, allocations: 49.67 kB / 1.45 GB, free: 68.15 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/4.866, allocations: 0 / 1.45 GB, free: 68.15 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/4.866, allocations: 4 kB / 1.45 GB, free: 68.14 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/4.866, allocations: 3.953 kB / 1.45 GB, free: 68.14 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/4.866, allocations: 15.98 kB / 1.45 GB, free: 68.12 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03494/4.901, allocations: 13.74 MB / 1.463 GB, free: 54.33 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/4.901, allocations: 58.55 kB / 1.463 GB, free: 54.26 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/4.901, allocations: 0 / 1.463 GB, free: 54.26 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/4.901, allocations: 71.48 kB / 1.463 GB, free: 54.18 MB / 0.714 GB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/4.901, allocations: 0 / 1.463 GB, free: 54.18 MB / 0.714 GB Notification: Performance of matching and sorting (n=5): time 0.007687/4.909, allocations: 4.619 MB / 1.468 GB, free: 49.5 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/4.909, allocations: 55.36 kB / 1.468 GB, free: 49.43 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09822/5.007, allocations: 43.56 MB / 1.51 GB, free: 6.293 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/5.007, allocations: 29.7 kB / 1.511 GB, free: 6.258 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.406/5.413, allocations: 22.43 MB / 1.532 GB, free: 166.7 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/5.414, allocations: 12.52 kB / 1.532 GB, free: 166.7 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/5.414, allocations: 0 / 1.532 GB, free: 166.7 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/5.414, allocations: 314.6 kB / 1.533 GB, free: 166.4 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/5.414, allocations: 12.42 kB / 1.533 GB, free: 166.4 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/5.414, allocations: 32.56 kB / 1.533 GB, free: 166.3 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/5.414, allocations: 16.61 kB / 1.533 GB, free: 166.3 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/5.414, allocations: 3.688 kB / 1.533 GB, free: 166.3 MB / 0.714 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.007879/5.422, allocations: 4.592 MB / 1.537 GB, free: 166.3 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/5.422, allocations: 5.312 kB / 1.537 GB, free: 166.3 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/5.422, allocations: 1.688 kB / 1.537 GB, free: 166.3 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/5.422, allocations: 4.656 kB / 1.537 GB, free: 166.3 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/5.422, allocations: 10.59 kB / 1.537 GB, free: 166.3 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/5.422, allocations: 0.9375 kB / 1.537 GB, free: 166.3 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005868/5.428, allocations: 139.4 kB / 1.537 GB, free: 166.3 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/5.428, allocations: 6.109 kB / 1.537 GB, free: 166.3 MB / 0.714 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02281/5.451, allocations: 9.392 MB / 1.547 GB, free: 165.2 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007223/5.458, allocations: 4.648 MB / 1.551 GB, free: 162.7 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/5.474, allocations: 5.201 MB / 1.556 GB, free: 161.2 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/5.474, allocations: 0 / 1.556 GB, free: 161.2 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/5.474, allocations: 0 / 1.556 GB, free: 161.2 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/5.474, allocations: 3.781 kB / 1.556 GB, free: 161.2 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04811/5.522, allocations: 15.09 MB / 1.571 GB, free: 156.2 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/5.522, allocations: 4.688 kB / 1.571 GB, free: 156.2 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/5.523, allocations: 6.672 kB / 1.571 GB, free: 156.2 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/5.523, allocations: 0 / 1.571 GB, free: 156.2 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/5.523, allocations: 6.688 kB / 1.571 GB, free: 156.2 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/5.523, allocations: 3.375 kB / 1.571 GB, free: 156.2 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/5.523, allocations: 0 / 1.571 GB, free: 156.2 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007695/5.53, allocations: 5.041 MB / 1.576 GB, free: 153.3 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01057/5.541, allocations: 3.875 MB / 1.58 GB, free: 150.7 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004416/5.545, allocations: 131.2 kB / 1.58 GB, free: 150.7 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00391/5.549, allocations: 125.7 kB / 1.58 GB, free: 150.7 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/5.549, allocations: 13.86 kB / 1.58 GB, free: 150.7 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/5.549, allocations: 1.75 kB / 1.58 GB, free: 150.7 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.09772/5.647, allocations: 34.89 MB / 1.614 GB, free: 142.2 MB / 0.714 GB Notification: Performance of sort global known variables: time 5.31e-07/5.647, allocations: 0 / 1.614 GB, free: 142.2 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.004963/5.652, allocations: 1.237 MB / 1.615 GB, free: 142.2 MB / 0.714 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009801/5.653, allocations: 432.2 kB / 1.616 GB, free: 142.1 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.0002292/5.653, allocations: 40.36 kB / 1.616 GB, free: 142.1 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/5.653, allocations: 5.828 kB / 1.616 GB, free: 142.1 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/5.654, allocations: 28.72 kB / 1.616 GB, free: 142 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008989/5.663, allocations: 3.267 MB / 1.619 GB, free: 139.9 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.138/5.801, allocations: 75.02 MB / 1.692 GB, free: 88.15 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04354/5.844, allocations: 18.08 MB / 1.71 GB, free: 70.02 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.03865/5.883, allocations: 11.32 MB / 1.721 GB, free: 58.7 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01059/5.894, allocations: 4.407 MB / 1.725 GB, free: 54.3 MB / 0.714 GB Notification: Performance of SimCode: time 2.335e-06/5.894, allocations: 0 / 1.725 GB, free: 54.3 MB / 0.714 GB Notification: Performance of Templates: time 0.7145/6.608, allocations: 122 MB / 1.844 GB, free: 172.6 MB / 0.7296 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches