Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001202/0.001202, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.363/1.363, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9224/0.9224, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.535, allocations: 80.69 MB / 0.5697 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002408/0.5374, allocations: 1.404 MB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000805/0.5382, allocations: 0.5728 MB / 0.5717 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.5383, allocations: 1.375 kB / 0.5717 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.5387, allocations: 447.7 kB / 0.5721 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.5391, allocations: 489.7 kB / 0.5726 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.5394, allocations: 85.03 kB / 0.5727 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.5402, allocations: 1.133 MB / 0.5738 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.5402, allocations: 3.75 kB / 0.5738 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.5407, allocations: 0.5593 MB / 0.5743 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.5415, allocations: 1.036 MB / 0.5753 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.5416, allocations: 66 kB / 0.5754 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.5419, allocations: 142.9 kB / 0.5755 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.5441, allocations: 2.497 MB / 0.578 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.5448, allocations: 1.424 MB / 0.5793 GB, free: 37.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.5468, allocations: 3.105 MB / 0.5824 GB, free: 35.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5468, allocations: 1.062 kB / 0.5824 GB, free: 35.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5468, allocations: 0 / 0.5824 GB, free: 35.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.246e-05/0.5469, allocations: 0 / 0.5824 GB, free: 35.67 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.004202/0.5511, allocations: 5.167 MB / 0.5874 GB, free: 31.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5511, allocations: 12.03 kB / 0.5874 GB, free: 31.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.5515, allocations: 0.5522 MB / 0.588 GB, free: 30.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/0.5581, allocations: 6.531 MB / 0.5944 GB, free: 24.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5582, allocations: 4.375 kB / 0.5944 GB, free: 24.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.5582, allocations: 16.38 kB / 0.5944 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.5585, allocations: 237.8 kB / 0.5946 GB, free: 24 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.5585, allocations: 0 / 0.5946 GB, free: 24 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.5585, allocations: 16 kB / 0.5946 GB, free: 23.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.5585, allocations: 4 kB / 0.5946 GB, free: 23.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.5587, allocations: 135.9 kB / 0.5948 GB, free: 23.85 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.5599, allocations: 1.866 MB / 0.5966 GB, free: 21.93 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.56, allocations: 98.56 kB / 0.5967 GB, free: 21.83 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.5602, allocations: 92.86 kB / 0.5968 GB, free: 21.73 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5602, allocations: 0 / 0.5968 GB, free: 21.73 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.5605, allocations: 265 kB / 0.597 GB, free: 21.46 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.5605, allocations: 0 / 0.597 GB, free: 21.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0009868/0.5615, allocations: 1.164 MB / 0.5981 GB, free: 20.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.5615, allocations: 81.11 kB / 0.5982 GB, free: 20.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/0.5665, allocations: 6.275 MB / 0.6044 GB, free: 13.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.5665, allocations: 41.7 kB / 0.6044 GB, free: 13.9 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.5681, allocations: 2.524 MB / 0.6069 GB, free: 11.37 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.5682, allocations: 35.75 kB / 0.6069 GB, free: 11.34 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.5683, allocations: 129.7 kB / 0.607 GB, free: 11.2 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.5683, allocations: 314 kB / 0.6073 GB, free: 10.89 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5685, allocations: 83.94 kB / 0.6074 GB, free: 10.81 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.5686, allocations: 83.86 kB / 0.6075 GB, free: 10.73 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.5688, allocations: 228.2 kB / 0.6077 GB, free: 10.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5688, allocations: 4 kB / 0.6077 GB, free: 10.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008824/0.5697, allocations: 1.09 MB / 0.6088 GB, free: 9.375 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.5698, allocations: 29.7 kB / 0.6088 GB, free: 9.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5698, allocations: 7.984 kB / 0.6088 GB, free: 9.332 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5698, allocations: 144 / 0.6088 GB, free: 9.332 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.5699, allocations: 8 kB / 0.6088 GB, free: 9.324 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5699, allocations: 0 / 0.6088 GB, free: 9.324 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.5703, allocations: 16 kB / 0.6088 GB, free: 9.309 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.5704, allocations: 228 kB / 0.609 GB, free: 9.086 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.001259/0.5717, allocations: 1.331 MB / 0.6103 GB, free: 7.738 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.572, allocations: 0.5785 MB / 0.6109 GB, free: 7.152 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.5725, allocations: 0.648 MB / 0.6115 GB, free: 6.496 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5726, allocations: 0 / 0.6115 GB, free: 6.496 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5726, allocations: 4 kB / 0.6115 GB, free: 6.492 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5726, allocations: 0 / 0.6115 GB, free: 6.492 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.574, allocations: 2.026 MB / 0.6135 GB, free: 4.418 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.574, allocations: 0 / 0.6135 GB, free: 4.418 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.5741, allocations: 7.938 kB / 0.6135 GB, free: 4.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5741, allocations: 0 / 0.6135 GB, free: 4.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.5741, allocations: 52 kB / 0.6136 GB, free: 4.359 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5741, allocations: 0 / 0.6136 GB, free: 4.359 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5741, allocations: 0 / 0.6136 GB, free: 4.359 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.5751, allocations: 1.172 MB / 0.6147 GB, free: 3.156 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006048/0.5757, allocations: 0.564 MB / 0.6153 GB, free: 2.566 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.5759, allocations: 20.09 kB / 0.6153 GB, free: 2.547 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.5763, allocations: 27.92 kB / 0.6153 GB, free: 2.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.5763, allocations: 0 / 0.6153 GB, free: 2.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.5765, allocations: 231.9 kB / 0.6155 GB, free: 2.293 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005653/0.5821, allocations: 4.325 MB / 0.6198 GB, free: 14 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5822, allocations: 0 / 0.6198 GB, free: 14 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0006916/0.5828, allocations: 188 kB / 0.6199 GB, free: 13.82 MB / 478.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.0002413/0.5831, allocations: 147.6 kB / 0.6201 GB, free: 13.67 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.5836, allocations: 287.2 kB / 0.6203 GB, free: 13.38 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5836, allocations: 4 kB / 0.6204 GB, free: 13.38 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.5838, allocations: 187.4 kB / 0.6205 GB, free: 13.18 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.585, allocations: 433.2 kB / 0.6209 GB, free: 12.75 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.5967, allocations: 8.505 MB / 0.6293 GB, free: 4.219 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.5991, allocations: 2.724 MB / 0.6319 GB, free: 1.469 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002857/0.6019, allocations: 1.188 MB / 0.6331 GB, free: 280 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.6022, allocations: 259.4 kB / 0.6333 GB, free: 20 kB / 478.3 MB Notification: Performance of SimCode: time 1.683e-06/0.6022, allocations: 0 / 0.6333 GB, free: 20 kB / 478.3 MB Notification: Performance of Templates: time 0.04743/0.6497, allocations: 20.69 MB / 0.6535 GB, free: 11.2 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches