Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.00217/0.00217, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.358/1.358, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009234, allocations: 92.08 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8492/0.8492, allocations: 120.5 MB / 463.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 8 kB / 0.5433 GB, free: 42.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 82.86 MB / 0.6242 GB, free: 9.195 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7884/0.9374, allocations: 126.7 MB / 0.748 GB, free: 7.336 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001501/0.9376, allocations: 52.59 kB / 0.748 GB, free: 7.312 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.009078/0.9467, allocations: 3.189 MB / 0.7511 GB, free: 4.574 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.886e-06/0.9468, allocations: 4 kB / 0.7511 GB, free: 4.57 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.9468, allocations: 0 / 0.7511 GB, free: 4.57 MB / 0.5107 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.0006147/0.9474, allocations: 491.1 kB / 0.7516 GB, free: 4.051 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.9475, allocations: 8.031 kB / 0.7516 GB, free: 4.043 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.9476, allocations: 19.77 kB / 0.7516 GB, free: 4.023 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.948, allocations: 286.3 kB / 0.7519 GB, free: 3.715 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.948, allocations: 3.938 kB / 0.7519 GB, free: 3.715 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.9481, allocations: 7.984 kB / 0.7519 GB, free: 3.707 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.9482, allocations: 57.47 kB / 0.752 GB, free: 3.648 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.9482, allocations: 0 / 0.752 GB, free: 3.648 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.9482, allocations: 0 / 0.752 GB, free: 3.648 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.9483, allocations: 11.95 kB / 0.752 GB, free: 3.637 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.9483, allocations: 23.8 kB / 0.752 GB, free: 3.621 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.9485, allocations: 201 kB / 0.7522 GB, free: 3.391 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.548e-05/0.9486, allocations: 37.83 kB / 0.7522 GB, free: 3.355 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.9486, allocations: 0 / 0.7522 GB, free: 3.355 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.9488, allocations: 104.6 kB / 0.7523 GB, free: 3.246 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.9488, allocations: 4 kB / 0.7523 GB, free: 3.242 MB / 0.5107 GB Notification: Performance of matching and sorting (n=8): time 0.0003578/0.9492, allocations: 235.4 kB / 0.7526 GB, free: 3.004 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.9492, allocations: 81.11 kB / 0.7526 GB, free: 2.906 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.9494, allocations: 207.4 kB / 0.7528 GB, free: 2.719 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.9495, allocations: 29.7 kB / 0.7529 GB, free: 2.684 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.9495, allocations: 123.2 kB / 0.753 GB, free: 2.586 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.9496, allocations: 23.48 kB / 0.753 GB, free: 2.566 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.9496, allocations: 3.938 kB / 0.753 GB, free: 2.562 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9497, allocations: 330.6 kB / 0.7533 GB, free: 2.238 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.9498, allocations: 19.8 kB / 0.7533 GB, free: 2.223 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.9498, allocations: 15.75 kB / 0.7534 GB, free: 2.215 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.9499, allocations: 49.44 kB / 0.7534 GB, free: 2.168 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9499, allocations: 0 / 0.7534 GB, free: 2.168 MB / 0.5107 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001842/0.9501, allocations: 150.3 kB / 0.7535 GB, free: 2.031 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.9501, allocations: 33.7 kB / 0.7536 GB, free: 1.992 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.9502, allocations: 3.984 kB / 0.7536 GB, free: 1.988 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.9502, allocations: 0 / 0.7536 GB, free: 1.988 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.9502, allocations: 6.375 kB / 0.7536 GB, free: 1.984 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.9503, allocations: 0 / 0.7536 GB, free: 1.984 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.9503, allocations: 11.94 kB / 0.7536 GB, free: 1.973 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.9503, allocations: 15.39 kB / 0.7536 GB, free: 1.961 MB / 0.5107 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.0001395/0.9505, allocations: 170.5 kB / 0.7538 GB, free: 1.785 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.9505, allocations: 15.81 kB / 0.7538 GB, free: 1.77 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.9506, allocations: 21.27 kB / 0.7538 GB, free: 1.746 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.9506, allocations: 96 / 0.7538 GB, free: 1.746 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9506, allocations: 7.938 kB / 0.7538 GB, free: 1.738 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9506, allocations: 0 / 0.7538 GB, free: 1.738 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.9508, allocations: 221 kB / 0.754 GB, free: 1.492 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9508, allocations: 0 / 0.754 GB, free: 1.492 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.9508, allocations: 4 kB / 0.754 GB, free: 1.488 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.9508, allocations: 0 / 0.754 GB, free: 1.488 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.9509, allocations: 7.984 kB / 0.754 GB, free: 1.48 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.9509, allocations: 0 / 0.754 GB, free: 1.48 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.9509, allocations: 0 / 0.754 GB, free: 1.48 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.9511, allocations: 197.8 kB / 0.7542 GB, free: 1.293 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.9512, allocations: 100.7 kB / 0.7543 GB, free: 1.18 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.9512, allocations: 8.5 kB / 0.7543 GB, free: 1.172 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.9513, allocations: 4 kB / 0.7543 GB, free: 1.168 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.9513, allocations: 4 kB / 0.7543 GB, free: 1.164 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.9514, allocations: 7.812 kB / 0.7543 GB, free: 1.16 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.0001376/0.9515, allocations: 171.8 kB / 0.7545 GB, free: 1.012 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9515, allocations: 0 / 0.7545 GB, free: 1.012 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.000247/0.9518, allocations: 43.92 kB / 0.7546 GB, free: 0.9688 MB / 0.5107 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.0001851/0.952, allocations: 127.3 kB / 0.7547 GB, free: 0.8398 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.9522, allocations: 145.5 kB / 0.7548 GB, free: 0.7188 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9522, allocations: 0 / 0.7548 GB, free: 0.7188 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.9523, allocations: 113.8 kB / 0.7549 GB, free: 0.625 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.9524, allocations: 16.5 kB / 0.7549 GB, free: 0.6094 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.9529, allocations: 311.3 kB / 0.7552 GB, free: 300 kB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.9533, allocations: 0.732 MB / 0.7559 GB, free: 15.54 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.9534, allocations: 17.42 kB / 0.756 GB, free: 15.52 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.9534, allocations: 15.44 kB / 0.756 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of SimCode: time 2.3e-07/0.9534, allocations: 0 / 0.756 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of Templates: time 0.004045/0.9574, allocations: 1.266 MB / 0.7572 GB, free: 14.25 MB / 0.5263 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches