Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 176.2 kB / 8.348 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.234/1.234, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0008439/0.0008439, allocations: 90.06 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9158/0.9158, allocations: 120.4 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.398e-05/1.402e-05, allocations: 3.984 kB / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5106, allocations: 82.84 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.6403, allocations: 126 MB / 0.7327 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001287/0.6404, allocations: 63.89 kB / 0.7327 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008526/0.649, allocations: 3.153 MB / 0.7358 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.649, allocations: 0 / 0.7358 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.649, allocations: 4.125 kB / 0.7358 GB, free: 11.72 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.0003204/0.6493, allocations: 451.7 kB / 0.7363 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.6494, allocations: 12.02 kB / 0.7363 GB, free: 11.22 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.6494, allocations: 19.77 kB / 0.7363 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.6498, allocations: 287.6 kB / 0.7366 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6498, allocations: 4 kB / 0.7366 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.6498, allocations: 0 / 0.7366 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.854e-05/0.6499, allocations: 23.98 kB / 0.7366 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.63e-05/0.65, allocations: 49.69 kB / 0.7366 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.65, allocations: 0 / 0.7366 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.65, allocations: 3.938 kB / 0.7366 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.65, allocations: 7.891 kB / 0.7366 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.6502, allocations: 182.2 kB / 0.7368 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.6502, allocations: 38.58 kB / 0.7369 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.6503, allocations: 28.86 kB / 0.7369 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.6503, allocations: 0 / 0.7369 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.6504, allocations: 93.14 kB / 0.737 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.6504, allocations: 0 / 0.737 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002364/0.6507, allocations: 113.3 kB / 0.7371 GB, free: 10.26 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6507, allocations: 81.11 kB / 0.7372 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.6509, allocations: 203.2 kB / 0.7374 GB, free: 9.957 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.6509, allocations: 25.7 kB / 0.7374 GB, free: 9.926 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.651, allocations: 124.1 kB / 0.7375 GB, free: 9.801 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.651, allocations: 15.75 kB / 0.7375 GB, free: 9.785 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.651, allocations: 0 / 0.7375 GB, free: 9.785 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.6511, allocations: 338.8 kB / 0.7378 GB, free: 9.445 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.6511, allocations: 16 kB / 0.7378 GB, free: 9.43 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.6512, allocations: 12 kB / 0.7379 GB, free: 9.418 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.6512, allocations: 23.98 kB / 0.7379 GB, free: 9.395 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6512, allocations: 4 kB / 0.7379 GB, free: 9.391 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001592/0.6514, allocations: 109.4 kB / 0.738 GB, free: 9.277 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.6515, allocations: 37.69 kB / 0.738 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6515, allocations: 0 / 0.738 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6515, allocations: 4.141 kB / 0.738 GB, free: 9.23 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.6515, allocations: 4 kB / 0.738 GB, free: 9.227 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.6515, allocations: 0 / 0.738 GB, free: 9.227 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.6516, allocations: 7.906 kB / 0.738 GB, free: 9.219 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.6516, allocations: 7.984 kB / 0.738 GB, free: 9.211 MB / 0.5419 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.05e-05/0.6517, allocations: 150.6 kB / 0.7382 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.6517, allocations: 19.81 kB / 0.7382 GB, free: 9.031 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.6518, allocations: 25.77 kB / 0.7382 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.6518, allocations: 0 / 0.7382 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.6518, allocations: 0 / 0.7382 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.6518, allocations: 0 / 0.7382 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.6519, allocations: 190.1 kB / 0.7384 GB, free: 8.785 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6519, allocations: 0 / 0.7384 GB, free: 8.785 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.652, allocations: 4 kB / 0.7384 GB, free: 8.781 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.652, allocations: 3.938 kB / 0.7384 GB, free: 8.777 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.652, allocations: 8 kB / 0.7384 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.652, allocations: 0 / 0.7384 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.652, allocations: 96 / 0.7384 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.6522, allocations: 157 kB / 0.7386 GB, free: 8.598 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.6523, allocations: 112.7 kB / 0.7387 GB, free: 8.469 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.6523, allocations: 4 kB / 0.7387 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.6524, allocations: 4 kB / 0.7387 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.6524, allocations: 7.984 kB / 0.7387 GB, free: 8.453 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6524, allocations: 8 kB / 0.7387 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001059/0.6525, allocations: 161.6 kB / 0.7389 GB, free: 8.289 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6525, allocations: 0 / 0.7389 GB, free: 8.289 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002144/0.6527, allocations: 39.98 kB / 0.7389 GB, free: 8.25 MB / 0.5419 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.0001506/0.6529, allocations: 123.2 kB / 0.739 GB, free: 8.121 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.6531, allocations: 135.3 kB / 0.7392 GB, free: 7.977 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6531, allocations: 0 / 0.7392 GB, free: 7.977 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.6532, allocations: 107.4 kB / 0.7393 GB, free: 7.859 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.6533, allocations: 20.66 kB / 0.7393 GB, free: 7.836 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.6537, allocations: 205.4 kB / 0.7395 GB, free: 7.613 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.6539, allocations: 0.7318 MB / 0.7402 GB, free: 6.855 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.278e-05/0.654, allocations: 29.41 kB / 0.7402 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.654, allocations: 11.44 kB / 0.7402 GB, free: 6.816 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.654, allocations: 4 kB / 0.7402 GB, free: 6.812 MB / 0.5419 GB Notification: Performance of Templates: time 0.003257/0.6573, allocations: 1.188 MB / 0.7414 GB, free: 5.625 MB / 0.5419 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches