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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 95.48 kB / 16.5 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 410.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.4903 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.5707, allocations: 80.68 MB / 0.569 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002464/0.5733, allocations: 1.452 MB / 0.5705 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.5742, allocations: 0.5845 MB / 0.571 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.5743, allocations: 1.094 kB / 0.571 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.5745, allocations: 22.69 kB / 0.5711 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.5747, allocations: 56.28 kB / 0.5711 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.5749, allocations: 59.47 kB / 0.5712 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.5751, allocations: 82.7 kB / 0.5712 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.5751, allocations: 2.406 kB / 0.5712 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.5752, allocations: 45.44 kB / 0.5713 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.5754, allocations: 49.58 kB / 0.5713 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.5754, allocations: 3.312 kB / 0.5713 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.5755, allocations: 75.67 kB / 0.5714 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.5757, allocations: 57.47 kB / 0.5715 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.5757, allocations: 49.97 kB / 0.5715 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.5759, allocations: 144.9 kB / 0.5716 GB, free: 40.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5759, allocations: 1.062 kB / 0.5716 GB, free: 40.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.31e-07/0.5759, allocations: 0 / 0.5716 GB, free: 40.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.576, allocations: 0 / 0.5716 GB, free: 40.98 MB / 462.3 MB 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.0004513/0.5764, allocations: 481.5 kB / 0.5721 GB, free: 40.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5765, allocations: 9.688 kB / 0.5721 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.5765, allocations: 20.56 kB / 0.5721 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.5769, allocations: 311.2 kB / 0.5724 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5769, allocations: 1.719 kB / 0.5724 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5769, allocations: 2.781 kB / 0.5724 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5771, allocations: 59.67 kB / 0.5725 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5771, allocations: 0 / 0.5725 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5771, allocations: 5.031 kB / 0.5725 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5771, allocations: 1.062 kB / 0.5725 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.5772, allocations: 16.03 kB / 0.5725 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.5774, allocations: 209.1 kB / 0.5727 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.751e-05/0.5774, allocations: 42.81 kB / 0.5728 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.5775, allocations: 34.02 kB / 0.5728 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.5775, allocations: 0 / 0.5728 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.5777, allocations: 110.3 kB / 0.5729 GB, free: 39.75 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5777, allocations: 0 / 0.5729 GB, free: 39.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003153/0.5781, allocations: 166.6 kB / 0.5731 GB, free: 39.64 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.5781, allocations: 79.95 kB / 0.5731 GB, free: 39.55 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.5783, allocations: 228.1 kB / 0.5733 GB, free: 39.39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.5783, allocations: 27.05 kB / 0.5734 GB, free: 39.36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.5784, allocations: 121.4 kB / 0.5735 GB, free: 39.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.5784, allocations: 18.58 kB / 0.5735 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.5785, allocations: 27.78 kB / 0.5735 GB, free: 39.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.5786, allocations: 332.7 kB / 0.5738 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/0.5786, allocations: 16.25 kB / 0.5739 GB, free: 38.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.5786, allocations: 18.8 kB / 0.5739 GB, free: 38.87 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.5787, allocations: 112.9 kB / 0.574 GB, free: 38.77 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5787, allocations: 1.375 kB / 0.574 GB, free: 38.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001651/0.5789, allocations: 148.9 kB / 0.5741 GB, free: 38.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.5789, allocations: 33.36 kB / 0.5742 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.579, allocations: 240 / 0.5742 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.579, allocations: 5.375 kB / 0.5742 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.579, allocations: 8.109 kB / 0.5742 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5791, allocations: 3.984 kB / 0.5742 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.5791, allocations: 2.75 kB / 0.5742 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.5791, allocations: 14.81 kB / 0.5742 GB, free: 38.61 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.5793, allocations: 172.4 kB / 0.5744 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.5793, allocations: 25.28 kB / 0.5744 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.5794, allocations: 21.64 kB / 0.5744 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5794, allocations: 5.516 kB / 0.5744 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5794, allocations: 0 / 0.5744 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5794, allocations: 5.359 kB / 0.5744 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.5795, allocations: 213.8 kB / 0.5746 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5795, allocations: 0 / 0.5746 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.5795, allocations: 7.094 kB / 0.5746 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5795, allocations: 1.656 kB / 0.5746 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.5796, allocations: 3.219 kB / 0.5746 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5796, allocations: 0 / 0.5746 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5796, allocations: 4 kB / 0.5746 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.5798, allocations: 201.3 kB / 0.5748 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.5799, allocations: 104.8 kB / 0.5749 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.5799, allocations: 7.875 kB / 0.5749 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.5799, allocations: 2.688 kB / 0.5749 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.58, allocations: 2.156 kB / 0.5749 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.58, allocations: 11.19 kB / 0.575 GB, free: 37.9 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001204/0.5801, allocations: 175.6 kB / 0.5751 GB, free: 37.79 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5801, allocations: 0 / 0.5751 GB, free: 37.79 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002473/0.5804, allocations: 37.53 kB / 0.5752 GB, free: 37.78 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/0.5805, allocations: 131.1 kB / 0.5753 GB, free: 37.67 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.5807, allocations: 139.4 kB / 0.5754 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5807, allocations: 0 / 0.5754 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.5808, allocations: 115.4 kB / 0.5755 GB, free: 37.47 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.581, allocations: 21.98 kB / 0.5755 GB, free: 37.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.5815, allocations: 328 kB / 0.5759 GB, free: 37.21 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.5817, allocations: 0.7244 MB / 0.5766 GB, free: 36.48 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.5818, allocations: 23.52 kB / 0.5766 GB, free: 36.48 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.5818, allocations: 14.59 kB / 0.5766 GB, free: 36.47 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.5818, allocations: 0 / 0.5766 GB, free: 36.47 MB / 462.3 MB Notification: Performance of Templates: time 0.004264/0.5861, allocations: 1.3 MB / 0.5779 GB, free: 35.81 MB / 462.3 MB 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