Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.001734/0.001734, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.407/1.407, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.076/1.076, allocations: 119.3 MB / 411.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.89 kB / 0.4911 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.5545, allocations: 80.67 MB / 0.5699 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002282/0.5568, allocations: 1.478 MB / 0.5713 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.5576, allocations: 0.576 MB / 0.5719 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.5577, allocations: 0 / 0.5719 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.5579, allocations: 121.5 kB / 0.572 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.5583, allocations: 154.5 kB / 0.5721 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.5585, allocations: 69.39 kB / 0.5722 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.5588, allocations: 338.2 kB / 0.5725 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.5588, allocations: 2.719 kB / 0.5725 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.559, allocations: 172 kB / 0.5727 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.5593, allocations: 291.1 kB / 0.573 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.5594, allocations: 19.22 kB / 0.573 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.5595, allocations: 87.53 kB / 0.5731 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.5601, allocations: 0.6313 MB / 0.5737 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.5603, allocations: 385.4 kB / 0.5741 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.5608, allocations: 0.6411 MB / 0.5747 GB, free: 40.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5608, allocations: 0 / 0.5747 GB, free: 40.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5608, allocations: 0 / 0.5747 GB, free: 40.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5608, allocations: 0 / 0.5747 GB, free: 40.32 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.001312/0.5621, allocations: 1.576 MB / 0.5762 GB, free: 39.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5622, allocations: 10 kB / 0.5762 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.5623, allocations: 144.2 kB / 0.5764 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.5643, allocations: 1.744 MB / 0.5781 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5644, allocations: 5.312 kB / 0.5781 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.5644, allocations: 6.812 kB / 0.5781 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.5646, allocations: 100.7 kB / 0.5782 GB, free: 37.77 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5646, allocations: 0 / 0.5782 GB, free: 37.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.5646, allocations: 4.125 kB / 0.5782 GB, free: 37.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5646, allocations: 1.375 kB / 0.5782 GB, free: 37.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.5647, allocations: 56.73 kB / 0.5782 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.5653, allocations: 0.5804 MB / 0.5788 GB, free: 37.31 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.5654, allocations: 53.34 kB / 0.5789 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.5655, allocations: 44.52 kB / 0.5789 GB, free: 37.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.5655, allocations: 0.9375 kB / 0.5789 GB, free: 37.26 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.5658, allocations: 150.6 kB / 0.579 GB, free: 37.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.5658, allocations: 0.9375 kB / 0.579 GB, free: 37.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.000593/0.5664, allocations: 400.9 kB / 0.5794 GB, free: 36.96 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.5664, allocations: 83.86 kB / 0.5795 GB, free: 36.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.568, allocations: 1.639 MB / 0.5811 GB, free: 36.11 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.568, allocations: 30.73 kB / 0.5811 GB, free: 36.08 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.5684, allocations: 0.6273 MB / 0.5818 GB, free: 35.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.5684, allocations: 15.38 kB / 0.5818 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.5685, allocations: 52.89 kB / 0.5818 GB, free: 35.51 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.5686, allocations: 315.2 kB / 0.5821 GB, free: 35.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.5686, allocations: 27.41 kB / 0.5821 GB, free: 35.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.5687, allocations: 39.86 kB / 0.5822 GB, free: 35.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.5688, allocations: 135 kB / 0.5823 GB, free: 35.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.5689, allocations: 0 / 0.5823 GB, free: 35.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004286/0.5693, allocations: 381.6 kB / 0.5827 GB, free: 34.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.5693, allocations: 41.09 kB / 0.5827 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5694, allocations: 0 / 0.5827 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5694, allocations: 0.9062 kB / 0.5827 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.5695, allocations: 7.688 kB / 0.5827 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5695, allocations: 0.9375 kB / 0.5827 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5696, allocations: 6.531 kB / 0.5827 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.5697, allocations: 61.94 kB / 0.5828 GB, free: 34.85 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.000443/0.5701, allocations: 457.2 kB / 0.5832 GB, free: 34.6 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.5703, allocations: 157.6 kB / 0.5834 GB, free: 34.51 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.5705, allocations: 168.9 kB / 0.5835 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5705, allocations: 1.375 kB / 0.5835 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5705, allocations: 4 kB / 0.5835 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5705, allocations: 0 / 0.5835 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.571, allocations: 0.6256 MB / 0.5842 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.571, allocations: 3.984 kB / 0.5842 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.5711, allocations: 7.312 kB / 0.5842 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5711, allocations: 0 / 0.5842 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.5711, allocations: 18.97 kB / 0.5842 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5711, allocations: 0 / 0.5842 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5711, allocations: 1.438 kB / 0.5842 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.5716, allocations: 430.1 kB / 0.5846 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.5718, allocations: 219.3 kB / 0.5848 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.5718, allocations: 6.531 kB / 0.5848 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.572, allocations: 6.781 kB / 0.5848 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.572, allocations: 5.234 kB / 0.5848 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.5721, allocations: 59.06 kB / 0.5849 GB, free: 33.55 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001098/0.5732, allocations: 1.146 MB / 0.586 GB, free: 32.98 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5732, allocations: 3.938 kB / 0.586 GB, free: 32.97 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002902/0.5735, allocations: 71.98 kB / 0.5861 GB, free: 32.9 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.0001447/0.5736, allocations: 131.2 kB / 0.5862 GB, free: 32.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.5738, allocations: 179.3 kB / 0.5864 GB, free: 32.58 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5738, allocations: 0 / 0.5864 GB, free: 32.58 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.5739, allocations: 127.4 kB / 0.5865 GB, free: 32.44 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.5744, allocations: 114.4 kB / 0.5866 GB, free: 32.33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.5765, allocations: 2.471 MB / 0.589 GB, free: 29.82 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5769, allocations: 1.184 MB / 0.5902 GB, free: 28.61 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.577, allocations: 71.44 kB / 0.5902 GB, free: 28.54 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.577, allocations: 0 / 0.5902 GB, free: 28.54 MB / 462.3 MB Notification: Performance of Templates: time 0.02493/0.6019, allocations: 18.64 MB / 0.6084 GB, free: 9.824 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches