Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001551/0.001551, allocations: 111.2 kB / 17.68 MB, free: 5.355 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.001589/0.001589, allocations: 192 kB / 18.62 MB, free: 4.434 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.398/1.398, 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 0.9139/0.9139, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5206, allocations: 80.68 MB / 0.5711 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002859/0.5235, allocations: 1.405 MB / 0.5725 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.5245, allocations: 0.5742 MB / 0.5731 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.5246, allocations: 3.938 kB / 0.5731 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.525, allocations: 448.4 kB / 0.5735 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.5257, allocations: 490.5 kB / 0.574 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.526, allocations: 80.75 kB / 0.5741 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.527, allocations: 1.133 MB / 0.5752 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.5271, allocations: 3 kB / 0.5752 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.5276, allocations: 0.567 MB / 0.5757 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.5287, allocations: 1.035 MB / 0.5767 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.5288, allocations: 66 kB / 0.5768 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.5291, allocations: 143.4 kB / 0.5769 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002706/0.5318, allocations: 2.5 MB / 0.5794 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009279/0.5328, allocations: 1.413 MB / 0.5808 GB, free: 37.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.5357, allocations: 3.162 MB / 0.5838 GB, free: 35.71 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5357, allocations: 4 kB / 0.5838 GB, free: 35.71 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5357, allocations: 0 / 0.5838 GB, free: 35.71 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.256e-05/0.5358, allocations: 3.984 kB / 0.5838 GB, free: 35.7 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.006756/0.5426, allocations: 5.168 MB / 0.5889 GB, free: 31.23 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5427, allocations: 12.03 kB / 0.5889 GB, free: 31.22 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.5432, allocations: 0.5561 MB / 0.5894 GB, free: 30.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008925/0.5521, allocations: 6.531 MB / 0.5958 GB, free: 24.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5521, allocations: 8.375 kB / 0.5958 GB, free: 24.04 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.5522, allocations: 16.38 kB / 0.5958 GB, free: 24.02 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.5525, allocations: 237.8 kB / 0.5961 GB, free: 23.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5525, allocations: 0 / 0.5961 GB, free: 23.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.5525, allocations: 16 kB / 0.5961 GB, free: 23.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5526, allocations: 0 / 0.5961 GB, free: 23.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.5527, allocations: 135.9 kB / 0.5962 GB, free: 23.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.5548, allocations: 1.862 MB / 0.598 GB, free: 21.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.555, allocations: 102.6 kB / 0.5981 GB, free: 21.62 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.5551, allocations: 92.86 kB / 0.5982 GB, free: 21.52 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.5552, allocations: 0 / 0.5982 GB, free: 21.52 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.5554, allocations: 256.9 kB / 0.5985 GB, free: 21.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.5554, allocations: 4 kB / 0.5985 GB, free: 21.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001529/0.557, allocations: 1.168 MB / 0.5996 GB, free: 20.06 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.557, allocations: 77.11 kB / 0.5997 GB, free: 19.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005679/0.5627, allocations: 6.279 MB / 0.6058 GB, free: 13.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.5628, allocations: 41.7 kB / 0.6059 GB, free: 13.69 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.5644, allocations: 2.524 MB / 0.6083 GB, free: 11.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.5645, allocations: 39.89 kB / 0.6084 GB, free: 11.12 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.5647, allocations: 125.7 kB / 0.6085 GB, free: 10.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.5647, allocations: 318 kB / 0.6088 GB, free: 10.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5648, allocations: 83.88 kB / 0.6089 GB, free: 10.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.5649, allocations: 79.98 kB / 0.6089 GB, free: 10.52 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.5652, allocations: 232.2 kB / 0.6092 GB, free: 10.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5652, allocations: 4 kB / 0.6092 GB, free: 10.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00104/0.5662, allocations: 1.086 MB / 0.6102 GB, free: 9.164 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.5663, allocations: 36.03 kB / 0.6103 GB, free: 9.125 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5663, allocations: 4 kB / 0.6103 GB, free: 9.121 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5663, allocations: 0 / 0.6103 GB, free: 9.121 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.5664, allocations: 7.938 kB / 0.6103 GB, free: 9.113 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5664, allocations: 4 kB / 0.6103 GB, free: 9.109 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.5668, allocations: 20 kB / 0.6103 GB, free: 9.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.567, allocations: 220 kB / 0.6105 GB, free: 8.875 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.001358/0.5684, allocations: 1.334 MB / 0.6118 GB, free: 7.523 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.5687, allocations: 0.5862 MB / 0.6124 GB, free: 6.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.5692, allocations: 0.6441 MB / 0.613 GB, free: 6.277 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5692, allocations: 0 / 0.613 GB, free: 6.277 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5693, allocations: 0 / 0.613 GB, free: 6.277 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5693, allocations: 0 / 0.613 GB, free: 6.277 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.5707, allocations: 2.026 MB / 0.615 GB, free: 4.203 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5707, allocations: 0 / 0.615 GB, free: 4.203 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.5707, allocations: 7.938 kB / 0.615 GB, free: 4.195 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5707, allocations: 0 / 0.615 GB, free: 4.195 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.5708, allocations: 52 kB / 0.615 GB, free: 4.145 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5708, allocations: 0 / 0.615 GB, free: 4.145 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5708, allocations: 96 / 0.615 GB, free: 4.145 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.5717, allocations: 1.176 MB / 0.6162 GB, free: 2.938 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000797/0.5725, allocations: 0.564 MB / 0.6167 GB, free: 2.348 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.5727, allocations: 24 kB / 0.6168 GB, free: 2.324 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.5731, allocations: 23.98 kB / 0.6168 GB, free: 2.301 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.5731, allocations: 0 / 0.6168 GB, free: 2.301 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.5733, allocations: 227.9 kB / 0.617 GB, free: 2.078 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005031/0.5783, allocations: 4.321 MB / 0.6212 GB, free: 13.8 MB / 478.3 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5783, allocations: 0 / 0.6212 GB, free: 13.8 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0006188/0.5789, allocations: 192 kB / 0.6214 GB, free: 13.61 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.0002193/0.5792, allocations: 146.6 kB / 0.6216 GB, free: 13.46 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.5796, allocations: 279.4 kB / 0.6218 GB, free: 13.18 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5796, allocations: 4 kB / 0.6218 GB, free: 13.17 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.5799, allocations: 187.3 kB / 0.622 GB, free: 12.98 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5811, allocations: 439.3 kB / 0.6224 GB, free: 12.55 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.594, allocations: 8.387 MB / 0.6306 GB, free: 4.129 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/0.5965, allocations: 2.72 MB / 0.6333 GB, free: 1.383 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002439/0.599, allocations: 1.141 MB / 0.6344 GB, free: 236 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.5993, allocations: 259.5 kB / 0.6346 GB, free: 15.97 MB / 494.3 MB Notification: Performance of SimCode: time 1.493e-06/0.5993, allocations: 0 / 0.6346 GB, free: 15.97 MB / 494.3 MB Notification: Performance of Templates: time 0.05229/0.6516, allocations: 20.7 MB / 0.6548 GB, free: 11.17 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches