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.001606/0.001606, allocations: 175.5 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.306/1.306, allocations: 221.3 MB / 235.5 MB, free: 2.898 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.0008756/0.0008756, allocations: 103 kB / 286.5 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8481/0.8481, allocations: 120.4 MB / 457.8 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.846e-05, allocations: 7.984 kB / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5176/0.5177, allocations: 82.83 MB / 0.6166 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.6651, allocations: 126.6 MB / 0.7403 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001396/0.6652, allocations: 51.92 kB / 0.7403 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008991/0.6742, allocations: 3.175 MB / 0.7434 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6743, allocations: 0 / 0.7434 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.6743, allocations: 4 kB / 0.7434 GB, free: 7.336 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.0003759/0.6747, allocations: 443.9 kB / 0.7439 GB, free: 6.852 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6747, allocations: 8.031 kB / 0.7439 GB, free: 6.844 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.6748, allocations: 19.77 kB / 0.7439 GB, free: 6.824 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.6752, allocations: 295.5 kB / 0.7442 GB, free: 6.492 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6752, allocations: 4 kB / 0.7442 GB, free: 6.488 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.6752, allocations: 0 / 0.7442 GB, free: 6.488 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.6754, allocations: 53.69 kB / 0.7442 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.6754, allocations: 0 / 0.7442 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.6754, allocations: 0 / 0.7442 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6754, allocations: 3.938 kB / 0.7442 GB, free: 6.426 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.612e-05/0.6755, allocations: 27.94 kB / 0.7442 GB, free: 6.398 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.6757, allocations: 201.6 kB / 0.7444 GB, free: 6.152 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.79e-05/0.6757, allocations: 42.58 kB / 0.7445 GB, free: 6.102 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.6758, allocations: 28.86 kB / 0.7445 GB, free: 6.07 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.6758, allocations: 0 / 0.7445 GB, free: 6.07 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.6759, allocations: 97.14 kB / 0.7446 GB, free: 5.957 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.6759, allocations: 0 / 0.7446 GB, free: 5.957 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002495/0.6762, allocations: 147.2 kB / 0.7447 GB, free: 5.801 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.6763, allocations: 85.11 kB / 0.7448 GB, free: 5.699 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.6764, allocations: 214.9 kB / 0.745 GB, free: 5.48 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.6765, allocations: 25.7 kB / 0.7451 GB, free: 5.449 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.6765, allocations: 120.1 kB / 0.7452 GB, free: 5.328 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.6766, allocations: 19.75 kB / 0.7452 GB, free: 5.309 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.6766, allocations: 0 / 0.7452 GB, free: 5.309 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.6767, allocations: 330.8 kB / 0.7455 GB, free: 4.977 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.412e-05/0.6767, allocations: 12 kB / 0.7455 GB, free: 4.965 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.6768, allocations: 20 kB / 0.7455 GB, free: 4.945 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.6768, allocations: 57.72 kB / 0.7456 GB, free: 4.883 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6768, allocations: 0 / 0.7456 GB, free: 4.883 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001697/0.677, allocations: 143.1 kB / 0.7457 GB, free: 4.73 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.677, allocations: 41.69 kB / 0.7458 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6771, allocations: 0 / 0.7458 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.6771, allocations: 0 / 0.7458 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.6771, allocations: 4 kB / 0.7458 GB, free: 4.68 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6771, allocations: 0 / 0.7458 GB, free: 4.68 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.6772, allocations: 7.906 kB / 0.7458 GB, free: 4.672 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.6772, allocations: 19.94 kB / 0.7458 GB, free: 4.652 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 7.734e-05/0.6773, allocations: 145 kB / 0.7459 GB, free: 4.5 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.6773, allocations: 15.81 kB / 0.7459 GB, free: 4.484 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.6774, allocations: 29.39 kB / 0.746 GB, free: 4.453 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.6774, allocations: 0 / 0.746 GB, free: 4.453 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6774, allocations: 4 kB / 0.746 GB, free: 4.449 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6774, allocations: 0 / 0.746 GB, free: 4.449 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6775, allocations: 209.6 kB / 0.7462 GB, free: 4.195 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.6776, allocations: 144 / 0.7462 GB, free: 4.195 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.6776, allocations: 4 kB / 0.7462 GB, free: 4.191 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6776, allocations: 7.984 kB / 0.7462 GB, free: 4.184 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.6776, allocations: 11.98 kB / 0.7462 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6776, allocations: 0 / 0.7462 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6776, allocations: 0 / 0.7462 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.6778, allocations: 190.6 kB / 0.7464 GB, free: 3.961 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.6779, allocations: 108.8 kB / 0.7465 GB, free: 3.836 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.678, allocations: 4 kB / 0.7465 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.678, allocations: 0 / 0.7465 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.678, allocations: 8 kB / 0.7465 GB, free: 3.824 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.6781, allocations: 15.98 kB / 0.7465 GB, free: 3.809 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001248/0.6782, allocations: 169.8 kB / 0.7467 GB, free: 3.645 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2e-07/0.6782, allocations: 0 / 0.7467 GB, free: 3.645 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002088/0.6784, allocations: 36 kB / 0.7467 GB, free: 3.609 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.0001579/0.6786, allocations: 127.2 kB / 0.7468 GB, free: 3.473 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.6788, allocations: 131.4 kB / 0.747 GB, free: 3.332 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6788, allocations: 0 / 0.747 GB, free: 3.332 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.6789, allocations: 119.3 kB / 0.7471 GB, free: 3.203 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.679, allocations: 16.62 kB / 0.7471 GB, free: 3.184 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.6794, allocations: 210.3 kB / 0.7473 GB, free: 2.957 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.6796, allocations: 0.7282 MB / 0.748 GB, free: 2.203 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.286e-05/0.6797, allocations: 29.42 kB / 0.748 GB, free: 2.176 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.6797, allocations: 11.44 kB / 0.748 GB, free: 2.164 MB / 0.5419 GB Notification: Performance of SimCode: time 4.91e-07/0.6797, allocations: 0 / 0.748 GB, free: 2.164 MB / 0.5419 GB Notification: Performance of Templates: time 0.003623/0.6834, allocations: 1.264 MB / 0.7493 GB, free: 0.9023 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