Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009/0.0008999, allocations: 97 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8501/0.8501, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.926e-05, allocations: 4 kB / 0.5288 GB, free: 1.309 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5209/0.5209, allocations: 82.83 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.6589, allocations: 126 MB / 0.7327 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001288/0.659, allocations: 59.91 kB / 0.7328 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03206/0.6911, allocations: 13.27 MB / 0.7457 GB, free: 1.555 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6911, allocations: 0 / 0.7457 GB, free: 1.555 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.058e-05/0.6912, allocations: 32 kB / 0.7458 GB, free: 1.523 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.5327/1.224, allocations: 1.896 MB / 0.7476 GB, free: 130 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.224, allocations: 9.281 kB / 0.7476 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/1.225, allocations: 299 kB / 0.7479 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/1.23, allocations: 2.881 MB / 0.7507 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.23, allocations: 1.5 kB / 0.7507 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/1.23, allocations: 9.812 kB / 0.7507 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001473/1.231, allocations: 65.78 kB / 0.7508 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/1.231, allocations: 134.3 kB / 0.7509 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/1.231, allocations: 0 / 0.7509 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/1.231, allocations: 8.844 kB / 0.7509 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.231, allocations: 4.797 kB / 0.7509 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/1.232, allocations: 0.9758 MB / 0.7519 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 8.555e-05/1.232, allocations: 56.69 kB / 0.7519 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.701e-05/1.232, allocations: 52 kB / 0.752 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/1.232, allocations: 1.531 kB / 0.752 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/1.232, allocations: 168.3 kB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/1.232, allocations: 4.25 kB / 0.7522 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.0007202/1.233, allocations: 0.5279 MB / 0.7527 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/1.233, allocations: 79.73 kB / 0.7527 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/1.236, allocations: 2.543 MB / 0.7552 GB, free: 128 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.236, allocations: 35.02 kB / 0.7553 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007827/1.237, allocations: 1.261 MB / 0.7565 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/1.237, allocations: 30.19 kB / 0.7565 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/1.237, allocations: 12.25 kB / 0.7565 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 3.969e-05/1.237, allocations: 311 kB / 0.7568 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/1.237, allocations: 42.25 kB / 0.7569 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/1.238, allocations: 36.25 kB / 0.7569 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/1.238, allocations: 44.42 kB / 0.7569 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.238, allocations: 0 / 0.7569 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005296/1.238, allocations: 0.5334 MB / 0.7575 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.238, allocations: 32.55 kB / 0.7575 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.238, allocations: 1.719 kB / 0.7575 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.238, allocations: 3.75 kB / 0.7575 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/1.238, allocations: 7.141 kB / 0.7575 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/1.238, allocations: 1.719 kB / 0.7575 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/1.239, allocations: 10.28 kB / 0.7575 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/1.239, allocations: 113.3 kB / 0.7576 GB, free: 126.3 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 9.074e-05/1.239, allocations: 164.6 kB / 0.7578 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.239, allocations: 293.5 kB / 0.7581 GB, free: 126 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/1.239, allocations: 334.8 kB / 0.7584 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.239, allocations: 6.938 kB / 0.7584 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.239, allocations: 0 / 0.7584 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.239, allocations: 0 / 0.7584 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/1.24, allocations: 1.063 MB / 0.7594 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.24, allocations: 0 / 0.7594 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/1.24, allocations: 6.844 kB / 0.7594 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.24, allocations: 0 / 0.7594 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/1.24, allocations: 25.41 kB / 0.7595 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.24, allocations: 1.25 kB / 0.7595 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.24, allocations: 0 / 0.7595 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/1.241, allocations: 0.5898 MB / 0.76 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/1.241, allocations: 330.9 kB / 0.7604 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.241, allocations: 20.98 kB / 0.7604 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.241, allocations: 9.906 kB / 0.7604 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/1.241, allocations: 3.938 kB / 0.7604 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/1.241, allocations: 115.7 kB / 0.7605 GB, free: 125 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.001605/1.243, allocations: 1.999 MB / 0.7624 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.6e-07/1.243, allocations: 3.344 kB / 0.7625 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003697/1.243, allocations: 114.6 kB / 0.7626 GB, free: 124.4 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.0001609/1.244, allocations: 126.8 kB / 0.7627 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0002061/1.244, allocations: 186.1 kB / 0.7629 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.244, allocations: 0 / 0.7629 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/1.244, allocations: 136.6 kB / 0.763 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/1.244, allocations: 210.8 kB / 0.7632 GB, free: 124 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/1.248, allocations: 3.309 MB / 0.7664 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.249, allocations: 1.744 MB / 0.7681 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001211/1.25, allocations: 0.5893 MB / 0.7687 GB, free: 120 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.25, allocations: 131.4 kB / 0.7688 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of SimCode: time 4.11e-07/1.25, allocations: 0 / 0.7688 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of Templates: time 0.01941/1.269, allocations: 9.03 MB / 0.7776 GB, free: 111.2 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches