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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 114.4 kB / 16.63 MB, free: 6.809 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.001667/0.001667, allocations: 190 kB / 17.55 MB, free: 5.93 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.53/1.53, allocations: 222.9 MB / 241.2 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.221/1.221, allocations: 119.3 MB / 410.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 0.4904 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.64, allocations: 80.69 MB / 0.5692 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003684/0.6437, allocations: 1.446 MB / 0.5706 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.645, allocations: 0.5722 MB / 0.5712 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.6451, allocations: 1.219 kB / 0.5712 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.6453, allocations: 14.11 kB / 0.5712 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.6456, allocations: 56.69 kB / 0.5713 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.6459, allocations: 77.36 kB / 0.5713 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.646, allocations: 87.28 kB / 0.5714 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.6461, allocations: 3.375 kB / 0.5714 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.6462, allocations: 44.72 kB / 0.5715 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.6463, allocations: 56.19 kB / 0.5715 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.6464, allocations: 3.781 kB / 0.5715 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.6465, allocations: 69.59 kB / 0.5716 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.6467, allocations: 68.92 kB / 0.5717 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.6467, allocations: 50.59 kB / 0.5717 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.6469, allocations: 147.5 kB / 0.5719 GB, free: 41.15 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6469, allocations: 0 / 0.5719 GB, free: 41.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6469, allocations: 0 / 0.5719 GB, free: 41.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.647, allocations: 4 kB / 0.5719 GB, free: 41.15 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.0004804/0.6474, allocations: 482 kB / 0.5723 GB, free: 40.67 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.6475, allocations: 12.86 kB / 0.5723 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.6475, allocations: 16.84 kB / 0.5723 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.6479, allocations: 311.1 kB / 0.5726 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.6479, allocations: 2.594 kB / 0.5726 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.6479, allocations: 2.688 kB / 0.5726 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.6481, allocations: 51 kB / 0.5727 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.6481, allocations: 5.031 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.6481, allocations: 5.125 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.6481, allocations: 3.984 kB / 0.5727 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.951e-05/0.6482, allocations: 20.34 kB / 0.5727 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.6483, allocations: 200.7 kB / 0.5729 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.6484, allocations: 47.78 kB / 0.573 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.6485, allocations: 25.17 kB / 0.573 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.6485, allocations: 4 kB / 0.573 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.6487, allocations: 114.4 kB / 0.5731 GB, free: 39.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.6487, allocations: 1.688 kB / 0.5731 GB, free: 39.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.00029/0.649, allocations: 157 kB / 0.5733 GB, free: 39.81 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.649, allocations: 83.31 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.6492, allocations: 228.5 kB / 0.5736 GB, free: 39.56 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.6493, allocations: 30.8 kB / 0.5736 GB, free: 39.53 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.6493, allocations: 121.9 kB / 0.5737 GB, free: 39.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.6494, allocations: 30.69 kB / 0.5737 GB, free: 39.39 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.6494, allocations: 23.28 kB / 0.5737 GB, free: 39.37 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.6495, allocations: 324.2 kB / 0.5741 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.6495, allocations: 21.83 kB / 0.5741 GB, free: 39.04 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.6496, allocations: 17.47 kB / 0.5741 GB, free: 39.03 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.6497, allocations: 110.1 kB / 0.5742 GB, free: 38.93 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6497, allocations: 0 / 0.5742 GB, free: 38.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000244/0.65, allocations: 154.5 kB / 0.5743 GB, free: 38.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.65, allocations: 36.05 kB / 0.5744 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.65, allocations: 4 kB / 0.5744 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.65, allocations: 0 / 0.5744 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.6501, allocations: 4.281 kB / 0.5744 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6501, allocations: 1.5 kB / 0.5744 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.6502, allocations: 6.484 kB / 0.5744 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.6502, allocations: 7.375 kB / 0.5744 GB, free: 38.78 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.0001365/0.6504, allocations: 168.1 kB / 0.5746 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.6504, allocations: 25.75 kB / 0.5746 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.6505, allocations: 28.64 kB / 0.5746 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.6505, allocations: 1.281 kB / 0.5746 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6505, allocations: 0 / 0.5746 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6505, allocations: 1.469 kB / 0.5746 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.6506, allocations: 210.2 kB / 0.5748 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6506, allocations: 0 / 0.5748 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.6507, allocations: 6.781 kB / 0.5748 GB, free: 38.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6507, allocations: 5.312 kB / 0.5748 GB, free: 38.35 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.6507, allocations: 2.75 kB / 0.5748 GB, free: 38.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6507, allocations: 5.375 kB / 0.5748 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6507, allocations: 144 / 0.5748 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.651, allocations: 209.6 kB / 0.575 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.651, allocations: 99.8 kB / 0.5751 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.6511, allocations: 7.641 kB / 0.5751 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.6511, allocations: 3.5 kB / 0.5751 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.6511, allocations: 1.562 kB / 0.5751 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.6512, allocations: 14.33 kB / 0.5752 GB, free: 38.07 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000141/0.6513, allocations: 175.5 kB / 0.5753 GB, free: 37.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6513, allocations: 5.469 kB / 0.5753 GB, free: 37.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002484/0.6516, allocations: 33.47 kB / 0.5754 GB, free: 37.94 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.0001512/0.6517, allocations: 122.4 kB / 0.5755 GB, free: 37.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.6519, allocations: 146.6 kB / 0.5756 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6519, allocations: 0 / 0.5756 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.652, allocations: 110.5 kB / 0.5757 GB, free: 37.64 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.6522, allocations: 18.77 kB / 0.5757 GB, free: 37.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.6526, allocations: 334.2 kB / 0.5761 GB, free: 37.38 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.6528, allocations: 0.7243 MB / 0.5768 GB, free: 36.66 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.55e-05/0.6529, allocations: 26.59 kB / 0.5768 GB, free: 36.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.6529, allocations: 13.78 kB / 0.5768 GB, free: 36.64 MB / 462.3 MB Notification: Performance of SimCode: time 4.4e-07/0.6529, allocations: 0 / 0.5768 GB, free: 36.64 MB / 462.3 MB Notification: Performance of Templates: time 0.003879/0.6568, allocations: 1.353 MB / 0.5781 GB, free: 35.96 MB / 462.3 MB 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/jenkins1/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