Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 178.7 kB / 13.63 MB, free: 1.684 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.318/1.318, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009684, allocations: 86.92 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8747/0.8747, allocations: 120.5 MB / 457.9 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.651e-05, allocations: 4 kB / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5008, allocations: 82.83 MB / 0.6166 GB, free: 9.359 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.6412, allocations: 126.7 MB / 0.7403 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001237/0.6413, allocations: 51.86 kB / 0.7403 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01851/0.6599, allocations: 7.63 MB / 0.7478 GB, free: 2.863 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6599, allocations: 0 / 0.7478 GB, free: 2.863 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 4.183e-05/0.66, allocations: 16 kB / 0.7478 GB, free: 2.848 MB / 0.5419 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.001014/0.661, allocations: 1.133 MB / 0.7489 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.661, allocations: 8.031 kB / 0.7489 GB, free: 1.652 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.6612, allocations: 150.1 kB / 0.7491 GB, free: 1.504 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5369/1.198, allocations: 1.529 MB / 0.7506 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.198, allocations: 4.094 kB / 0.7506 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/1.198, allocations: 6.062 kB / 0.7506 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/1.198, allocations: 95.05 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/1.198, allocations: 2.531 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/1.198, allocations: 4.844 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.199, allocations: 0.625 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/1.199, allocations: 49.98 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/1.2, allocations: 0.585 MB / 0.7513 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/1.2, allocations: 58.45 kB / 0.7513 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/1.2, allocations: 43.92 kB / 0.7514 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/1.2, allocations: 0.9688 kB / 0.7514 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/1.2, allocations: 135.2 kB / 0.7515 GB, free: 130 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 2.374e-06/1.2, allocations: 0 / 0.7515 GB, free: 130 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.0006018/1.201, allocations: 358.7 kB / 0.7519 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/1.201, allocations: 84.42 kB / 0.7519 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/1.203, allocations: 1.399 MB / 0.7533 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.203, allocations: 35.14 kB / 0.7533 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/1.203, allocations: 0.6364 MB / 0.754 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/1.203, allocations: 27.52 kB / 0.754 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/1.203, allocations: 5.156 kB / 0.754 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 4.314e-05/1.203, allocations: 313 kB / 0.7543 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/1.204, allocations: 35.81 kB / 0.7543 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/1.204, allocations: 29.66 kB / 0.7543 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/1.204, allocations: 64.14 kB / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.204, allocations: 0 / 0.7544 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004669/1.204, allocations: 365.6 kB / 0.7548 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/1.204, allocations: 35.03 kB / 0.7548 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.204, allocations: 1.5 kB / 0.7548 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.204, allocations: 0.875 kB / 0.7548 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/1.204, allocations: 4.578 kB / 0.7548 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.204, allocations: 5.969 kB / 0.7548 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/1.204, allocations: 8.406 kB / 0.7548 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/1.205, allocations: 57.41 kB / 0.7549 GB, free: 128.7 MB / 0.5421 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.564e-05/1.205, allocations: 158.8 kB / 0.755 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.205, allocations: 153.7 kB / 0.7552 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/1.205, allocations: 170 kB / 0.7553 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.205, allocations: 0.9062 kB / 0.7553 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.205, allocations: 1.125 kB / 0.7553 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.205, allocations: 4.5 kB / 0.7553 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/1.206, allocations: 0.6286 MB / 0.7559 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.206, allocations: 0.8438 kB / 0.7559 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/1.206, allocations: 3.312 kB / 0.756 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.206, allocations: 1.453 kB / 0.756 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/1.206, allocations: 14.48 kB / 0.756 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.206, allocations: 1.75 kB / 0.756 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.206, allocations: 5 kB / 0.756 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/1.206, allocations: 413.7 kB / 0.7564 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/1.207, allocations: 206.3 kB / 0.7566 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/1.207, allocations: 8.156 kB / 0.7566 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/1.207, allocations: 9.922 kB / 0.7566 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/1.207, allocations: 5.938 kB / 0.7566 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/1.207, allocations: 61.58 kB / 0.7566 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.001513/1.208, allocations: 1.123 MB / 0.7577 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 8.52e-07/1.208, allocations: 3.969 kB / 0.7577 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003409/1.209, allocations: 77.72 kB / 0.7578 GB, free: 127.3 MB / 0.5421 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) * 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 (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.000199/1.209, allocations: 136.2 kB / 0.758 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0002346/1.209, allocations: 166.8 kB / 0.7581 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.209, allocations: 0 / 0.7581 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/1.209, allocations: 132 kB / 0.7582 GB, free: 127 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/1.21, allocations: 114.2 kB / 0.7583 GB, free: 127 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/1.212, allocations: 1.651 MB / 0.76 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/1.213, allocations: 1.209 MB / 0.7611 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006173/1.214, allocations: 290.8 kB / 0.7614 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/1.214, allocations: 77 kB / 0.7615 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of SimCode: time 4.91e-07/1.214, allocations: 0 / 0.7615 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.01187/1.226, allocations: 5.607 MB / 0.767 GB, free: 123.5 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches