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 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.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 3.2.3+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.312/1.312, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.0008817/0.0008819, allocations: 85.42 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7885/0.7885, allocations: 120.4 MB / 440.6 MB, free: 4.102 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 15.94 kB / 0.5188 GB, free: 57.28 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1233, allocations: 80.01 MB / 0.5969 GB, free: 9.148 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5718/0.6952, allocations: 125.9 MB / 0.7199 GB, free: 18.41 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001161/0.6954, allocations: 47.95 kB / 0.7199 GB, free: 18.41 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.007192/0.7026, allocations: 3.163 MB / 0.723 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7026, allocations: 0 / 0.723 GB, free: 16.55 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.7026, allocations: 4 kB / 0.723 GB, free: 16.55 MB / 0.4953 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.0003222/0.7029, allocations: 480.5 kB / 0.7235 GB, free: 16.03 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.703, allocations: 8.031 kB / 0.7235 GB, free: 16.02 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.703, allocations: 20.75 kB / 0.7235 GB, free: 16 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.7033, allocations: 306.9 kB / 0.7238 GB, free: 15.68 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7033, allocations: 384 / 0.7238 GB, free: 15.68 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.7033, allocations: 4.375 kB / 0.7238 GB, free: 15.68 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.519e-05/0.7034, allocations: 50.17 kB / 0.7239 GB, free: 15.62 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.7035, allocations: 192 / 0.7239 GB, free: 15.62 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.7035, allocations: 7.938 kB / 0.7239 GB, free: 15.62 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.7035, allocations: 0 / 0.7239 GB, free: 15.62 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/0.7035, allocations: 27.78 kB / 0.7239 GB, free: 15.6 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.7037, allocations: 204.3 kB / 0.7241 GB, free: 15.36 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.7037, allocations: 42.08 kB / 0.7241 GB, free: 15.32 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.7038, allocations: 32.58 kB / 0.7242 GB, free: 15.3 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.7038, allocations: 0 / 0.7242 GB, free: 15.3 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.676e-05/0.7039, allocations: 92.84 kB / 0.7242 GB, free: 15.2 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.7039, allocations: 3.938 kB / 0.7242 GB, free: 15.2 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.000249/0.7042, allocations: 173.4 kB / 0.7244 GB, free: 15.04 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.7042, allocations: 85.05 kB / 0.7245 GB, free: 14.94 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.7044, allocations: 230.5 kB / 0.7247 GB, free: 14.73 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7044, allocations: 29.7 kB / 0.7247 GB, free: 14.7 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.7044, allocations: 119.2 kB / 0.7249 GB, free: 14.6 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.7045, allocations: 15.72 kB / 0.7249 GB, free: 14.59 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.7045, allocations: 0 / 0.7249 GB, free: 14.59 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.7046, allocations: 334.6 kB / 0.7252 GB, free: 14.26 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.7046, allocations: 19.62 kB / 0.7252 GB, free: 14.25 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.7046, allocations: 18.98 kB / 0.7252 GB, free: 14.23 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.7047, allocations: 100 kB / 0.7253 GB, free: 14.14 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7047, allocations: 0 / 0.7253 GB, free: 14.14 MB / 0.4953 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001599/0.7049, allocations: 154.5 kB / 0.7255 GB, free: 14 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.7049, allocations: 37.64 kB / 0.7255 GB, free: 13.95 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.705, allocations: 48 / 0.7255 GB, free: 13.95 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.705, allocations: 7.969 kB / 0.7255 GB, free: 13.95 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/0.705, allocations: 4 kB / 0.7255 GB, free: 13.94 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.705, allocations: 0 / 0.7255 GB, free: 13.94 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.7051, allocations: 11.94 kB / 0.7255 GB, free: 13.93 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.7051, allocations: 11.91 kB / 0.7255 GB, free: 13.92 MB / 0.4953 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.000106/0.7052, allocations: 171.4 kB / 0.7257 GB, free: 13.74 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.7053, allocations: 19.75 kB / 0.7257 GB, free: 13.72 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.7053, allocations: 21.95 kB / 0.7257 GB, free: 13.7 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.7053, allocations: 7.938 kB / 0.7257 GB, free: 13.7 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.7053, allocations: 96 / 0.7257 GB, free: 13.7 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7053, allocations: 3.938 kB / 0.7258 GB, free: 13.69 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.7055, allocations: 212.7 kB / 0.726 GB, free: 13.45 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7055, allocations: 4 kB / 0.726 GB, free: 13.45 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.7055, allocations: 8 kB / 0.726 GB, free: 13.44 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7055, allocations: 7.875 kB / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.7055, allocations: 7.875 kB / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7055, allocations: 3.984 kB / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7055, allocations: 0 / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.7057, allocations: 187.8 kB / 0.7262 GB, free: 13.25 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.7058, allocations: 96.91 kB / 0.7263 GB, free: 13.13 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.7058, allocations: 15.75 kB / 0.7263 GB, free: 13.12 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.7059, allocations: 4 kB / 0.7263 GB, free: 13.12 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.7059, allocations: 0 / 0.7263 GB, free: 13.12 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.706, allocations: 8 kB / 0.7263 GB, free: 13.11 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.0001112/0.7061, allocations: 173 kB / 0.7264 GB, free: 12.96 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7061, allocations: 3.938 kB / 0.7265 GB, free: 12.96 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002251/0.7063, allocations: 39.98 kB / 0.7265 GB, free: 12.92 MB / 0.4953 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.0001444/0.7065, allocations: 124 kB / 0.7266 GB, free: 12.79 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.7066, allocations: 147 kB / 0.7267 GB, free: 12.68 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7066, allocations: 0 / 0.7267 GB, free: 12.68 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.7067, allocations: 105.8 kB / 0.7269 GB, free: 12.59 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.7069, allocations: 20.42 kB / 0.7269 GB, free: 12.57 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.7074, allocations: 313.7 kB / 0.7272 GB, free: 12.25 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.7076, allocations: 0.7282 MB / 0.7279 GB, free: 11.49 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 8.072e-05/0.7077, allocations: 21.64 kB / 0.7279 GB, free: 11.47 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.7077, allocations: 15.44 kB / 0.7279 GB, free: 11.46 MB / 0.4953 GB Notification: Performance of SimCode: time 1.91e-07/0.7077, allocations: 0 / 0.7279 GB, free: 11.46 MB / 0.4953 GB Notification: Performance of Templates: time 0.004355/0.7121, allocations: 1.265 MB / 0.7292 GB, free: 10.2 MB / 0.4953 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/jenkins1/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