Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009182/0.0009184, allocations: 176.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007603/0.0007601, allocations: 90.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8197/0.8197, allocations: 120.4 MB / 440.6 MB, free: 4.078 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 12 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 79.99 MB / 0.5969 GB, free: 9.133 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5918/0.7196, allocations: 125.9 MB / 0.7199 GB, free: 18.64 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001374/0.7198, allocations: 54.81 kB / 0.7199 GB, free: 18.64 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 3.037/3.757, allocations: 0.6138 GB / 1.334 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of FrontEnd: time 2.645e-06/3.757, allocations: 3.938 kB / 1.334 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.00294/3.76, allocations: 500 kB / 1.334 GB, free: 159.3 MB / 0.6984 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.05361/3.813, allocations: 34.24 MB / 1.368 GB, free: 128.2 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/3.813, allocations: 8.031 kB / 1.368 GB, free: 128.2 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007015/3.82, allocations: 4.524 MB / 1.372 GB, free: 123.6 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1293/3.95, allocations: 47.42 MB / 1.418 GB, free: 79.92 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/3.95, allocations: 8.375 kB / 1.418 GB, free: 79.91 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/3.95, allocations: 124.4 kB / 1.419 GB, free: 79.79 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/3.952, allocations: 1.512 MB / 1.42 GB, free: 78.27 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/3.952, allocations: 192 / 1.42 GB, free: 78.27 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/3.952, allocations: 135.9 kB / 1.42 GB, free: 78.14 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/3.952, allocations: 4 kB / 1.42 GB, free: 78.14 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/3.953, allocations: 0.875 MB / 1.421 GB, free: 77.26 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/3.984, allocations: 13.84 MB / 1.434 GB, free: 63.36 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/3.985, allocations: 0.522 MB / 1.435 GB, free: 62.82 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/3.986, allocations: 0.5204 MB / 1.436 GB, free: 62.3 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/3.986, allocations: 0 / 1.436 GB, free: 62.3 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009455/3.987, allocations: 1.32 MB / 1.437 GB, free: 60.96 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=8): time 2.285e-06/3.987, allocations: 0 / 1.437 GB, free: 60.96 MB / 0.6984 GB Notification: Performance of matching and sorting (n=8): time 0.01037/3.997, allocations: 8.322 MB / 1.445 GB, free: 52.57 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/3.997, allocations: 77.11 kB / 1.445 GB, free: 52.48 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1023/4.1, allocations: 49.46 MB / 1.493 GB, free: 3.426 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.0005671/4.1, allocations: 154.3 kB / 1.493 GB, free: 3.27 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.297/4.397, allocations: 22.91 MB / 1.516 GB, free: 171.3 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/4.398, allocations: 140.3 kB / 1.516 GB, free: 171.3 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/4.399, allocations: 126.2 kB / 1.516 GB, free: 171.3 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/4.399, allocations: 309.4 kB / 1.516 GB, free: 171 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/4.4, allocations: 0.5068 MB / 1.517 GB, free: 171 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/4.4, allocations: 0.5065 MB / 1.517 GB, free: 171 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/4.402, allocations: 1.079 MB / 1.518 GB, free: 170.9 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/4.402, allocations: 0 / 1.518 GB, free: 170.9 MB / 0.6984 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01126/4.414, allocations: 7.815 MB / 1.526 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/4.414, allocations: 39.83 kB / 1.526 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/4.414, allocations: 5.25 kB / 1.526 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/4.414, allocations: 0 / 1.526 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/4.414, allocations: 4.719 kB / 1.526 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/4.414, allocations: 0 / 1.526 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/4.419, allocations: 136.7 kB / 1.526 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/4.421, allocations: 1.713 MB / 1.528 GB, free: 170.5 MB / 0.6984 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 () * Number of clocked 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 0.02038/4.441, allocations: 9.67 MB / 1.537 GB, free: 169.4 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005721/4.447, allocations: 4.524 MB / 1.542 GB, free: 169.4 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/4.461, allocations: 5.116 MB / 1.547 GB, free: 168 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/4.461, allocations: 7.875 kB / 1.547 GB, free: 168 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/4.461, allocations: 0.6562 kB / 1.547 GB, free: 168 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/4.461, allocations: 11.06 kB / 1.547 GB, free: 168 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04161/4.503, allocations: 15.08 MB / 1.561 GB, free: 163 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/4.503, allocations: 1.875 kB / 1.561 GB, free: 163 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/4.503, allocations: 3.375 kB / 1.561 GB, free: 163 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/4.503, allocations: 0 / 1.561 GB, free: 163 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009475/4.504, allocations: 382.2 kB / 1.562 GB, free: 163 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/4.504, allocations: 4.703 kB / 1.562 GB, free: 163 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/4.504, allocations: 0 / 1.562 GB, free: 163 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/4.516, allocations: 8.144 MB / 1.57 GB, free: 160.1 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007592/4.523, allocations: 3.882 MB / 1.574 GB, free: 157.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004146/4.528, allocations: 127.4 kB / 1.574 GB, free: 157.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004062/4.532, allocations: 130.9 kB / 1.574 GB, free: 157.5 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/4.532, allocations: 12.75 kB / 1.574 GB, free: 157.5 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001307/4.533, allocations: 1.711 MB / 1.576 GB, free: 157.2 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.07918/4.612, allocations: 34.37 MB / 1.609 GB, free: 148.7 MB / 0.6984 GB Notification: Performance of sort global known variables: time 4.51e-07/4.612, allocations: 0 / 1.609 GB, free: 148.7 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.004636/4.617, allocations: 1.252 MB / 1.61 GB, free: 148.7 MB / 0.6984 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) * Number of clocked states: 0 () * 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.0004449/4.617, allocations: 254.2 kB / 1.611 GB, free: 148.6 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.001505/4.619, allocations: 1.229 MB / 1.612 GB, free: 148.5 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/4.619, allocations: 3.75 kB / 1.612 GB, free: 148.5 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0008108/4.62, allocations: 0.719 MB / 1.612 GB, free: 148.4 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01467/4.635, allocations: 3.377 MB / 1.616 GB, free: 146.3 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1158/4.75, allocations: 74.98 MB / 1.689 GB, free: 81.04 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03574/4.786, allocations: 17.33 MB / 1.706 GB, free: 63.65 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.02668/4.813, allocations: 9.383 MB / 1.715 GB, free: 54.28 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002276/4.815, allocations: 1.964 MB / 1.717 GB, free: 52.31 MB / 0.6984 GB Notification: Performance of SimCode: time 9.52e-07/4.815, allocations: 0 / 1.717 GB, free: 52.31 MB / 0.6984 GB Notification: Performance of Templates: time 0.6599/5.475, allocations: 165.4 MB / 1.879 GB, free: 134.6 MB / 0.6984 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches