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.001335/0.001335, allocations: 112.5 kB / 17.69 MB, free: 5.438 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.001424/0.001424, allocations: 187 kB / 18.63 MB, free: 4.508 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.012/1.012, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6687, allocations: 80.69 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002394/0.6711, allocations: 1.392 MB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.672, allocations: 0.5738 MB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.672, allocations: 5.562 kB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.6722, allocations: 18.47 kB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.6725, allocations: 64.67 kB / 0.5732 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.6727, allocations: 76.05 kB / 0.5732 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.6729, allocations: 82.59 kB / 0.5733 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.6729, allocations: 3.688 kB / 0.5733 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.673, allocations: 57.16 kB / 0.5734 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.6732, allocations: 49.94 kB / 0.5734 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.6732, allocations: 4.156 kB / 0.5734 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.6733, allocations: 81.67 kB / 0.5735 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.6735, allocations: 53.53 kB / 0.5736 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.6735, allocations: 54.52 kB / 0.5736 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.6737, allocations: 148.7 kB / 0.5737 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6737, allocations: 0 / 0.5737 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6737, allocations: 0 / 0.5737 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.6738, allocations: 0 / 0.5737 GB, free: 41.58 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.000458/0.6742, allocations: 478.5 kB / 0.5742 GB, free: 41.11 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6743, allocations: 12.39 kB / 0.5742 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.6743, allocations: 16.41 kB / 0.5742 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.6747, allocations: 316.1 kB / 0.5745 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.6747, allocations: 5.438 kB / 0.5745 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.6747, allocations: 2.844 kB / 0.5745 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.6749, allocations: 52.16 kB / 0.5746 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.6749, allocations: 0 / 0.5746 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6749, allocations: 5.438 kB / 0.5746 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6749, allocations: 1.531 kB / 0.5746 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/0.675, allocations: 23.11 kB / 0.5746 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.6751, allocations: 201 kB / 0.5748 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.814e-05/0.6752, allocations: 46.41 kB / 0.5749 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.6753, allocations: 38.77 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.6753, allocations: 0 / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.6754, allocations: 102.6 kB / 0.575 GB, free: 40.35 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.6754, allocations: 0 / 0.575 GB, free: 40.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002939/0.6757, allocations: 170.7 kB / 0.5752 GB, free: 40.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.6758, allocations: 79.89 kB / 0.5752 GB, free: 40.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.676, allocations: 243.5 kB / 0.5755 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.676, allocations: 26.92 kB / 0.5755 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.676, allocations: 116.9 kB / 0.5756 GB, free: 39.84 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.6761, allocations: 19.66 kB / 0.5756 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.6761, allocations: 27.61 kB / 0.5756 GB, free: 39.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.6762, allocations: 327.5 kB / 0.576 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.6762, allocations: 17.86 kB / 0.576 GB, free: 39.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.6762, allocations: 17.97 kB / 0.576 GB, free: 39.45 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.951e-05/0.6763, allocations: 113.2 kB / 0.5761 GB, free: 39.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6763, allocations: 0 / 0.5761 GB, free: 39.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001631/0.6765, allocations: 145.8 kB / 0.5762 GB, free: 39.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.6766, allocations: 41.34 kB / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.6766, allocations: 0 / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6766, allocations: 0 / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.6766, allocations: 4.062 kB / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6767, allocations: 1.188 kB / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.6767, allocations: 2.75 kB / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.6767, allocations: 14.42 kB / 0.5763 GB, free: 39.2 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.0001121/0.6769, allocations: 177.9 kB / 0.5765 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.6769, allocations: 28.72 kB / 0.5765 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.6769, allocations: 17.94 kB / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6769, allocations: 5.453 kB / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6769, allocations: 0 / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6769, allocations: 0 / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6771, allocations: 210.6 kB / 0.5767 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6771, allocations: 5.125 kB / 0.5767 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.6771, allocations: 6.5 kB / 0.5767 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6771, allocations: 4 kB / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.6771, allocations: 8.344 kB / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6771, allocations: 0 / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6771, allocations: 1.062 kB / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.6774, allocations: 193.2 kB / 0.5769 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.6775, allocations: 109 kB / 0.577 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.6775, allocations: 3.344 kB / 0.577 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.6775, allocations: 6.109 kB / 0.577 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.6776, allocations: 6.031 kB / 0.577 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.6776, allocations: 11.28 kB / 0.5771 GB, free: 38.49 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001217/0.6777, allocations: 175.7 kB / 0.5772 GB, free: 38.37 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6777, allocations: 0 / 0.5772 GB, free: 38.37 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002211/0.6779, allocations: 30.31 kB / 0.5772 GB, free: 38.37 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.0001414/0.6781, allocations: 123.2 kB / 0.5774 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.6783, allocations: 138.1 kB / 0.5775 GB, free: 38.17 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6783, allocations: 1.375 kB / 0.5775 GB, free: 38.17 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.6784, allocations: 118.5 kB / 0.5776 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.6786, allocations: 20.25 kB / 0.5776 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.6791, allocations: 299 kB / 0.5779 GB, free: 37.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.6792, allocations: 0.7238 MB / 0.5786 GB, free: 37.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.004e-05/0.6793, allocations: 30.98 kB / 0.5787 GB, free: 37.11 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.6793, allocations: 17.75 kB / 0.5787 GB, free: 37.09 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.6793, allocations: 1.5 kB / 0.5787 GB, free: 37.09 MB / 462.3 MB Notification: Performance of Templates: time 0.004031/0.6834, allocations: 1.357 MB / 0.58 GB, free: 36.41 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches