Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 111.8 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.001179/0.001179, allocations: 190.9 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.361/1.361, 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.9605/0.9605, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.83 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5202, allocations: 80.68 MB / 0.5711 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002218/0.5224, allocations: 1.412 MB / 0.5725 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.5232, allocations: 0.5707 MB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.5233, allocations: 0 / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003604/0.5269, allocations: 6.848 MB / 0.5798 GB, free: 38.51 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.5302, allocations: 6.894 MB / 0.5865 GB, free: 33.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.5306, allocations: 75.8 kB / 0.5866 GB, free: 33.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009142/0.5397, allocations: 17.04 MB / 0.6032 GB, free: 16.64 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.5398, allocations: 0 / 0.6032 GB, free: 16.64 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008657/0.5485, allocations: 8.466 MB / 0.6115 GB, free: 8.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/0.5655, allocations: 16.14 MB / 0.6272 GB, free: 7.996 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004932/0.5704, allocations: 0.9805 MB / 0.6282 GB, free: 7.016 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.5752, allocations: 1.059 MB / 0.6292 GB, free: 5.957 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04204/0.6173, allocations: 39.81 MB / 0.6681 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03664/0.6539, allocations: 22.48 MB / 0.6901 GB, free: 7.336 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.05219/0.7062, allocations: 49.4 MB / 0.7383 GB, free: 5.676 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.7062, allocations: 0 / 0.7383 GB, free: 5.676 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7062, allocations: 0 / 0.7383 GB, free: 5.676 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001883/0.7081, allocations: 4 kB / 0.7383 GB, free: 5.672 MB / 0.5764 GB 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.7057/1.414, allocations: 77.12 MB / 0.8136 GB, free: 84.41 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.414, allocations: 8.031 kB / 0.8136 GB, free: 84.41 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/1.427, allocations: 8.801 MB / 0.8222 GB, free: 75.49 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.289/1.716, allocations: 103.1 MB / 0.9229 GB, free: 3.832 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/1.716, allocations: 4.094 kB / 0.9229 GB, free: 3.832 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006885/1.717, allocations: 252.4 kB / 0.9231 GB, free: 3.586 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/1.72, allocations: 2.972 MB / 0.926 GB, free: 0.6055 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.72, allocations: 2.344 kB / 0.926 GB, free: 0.6055 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004627/1.72, allocations: 259.9 kB / 0.9263 GB, free: 360 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.72, allocations: 0 / 0.9263 GB, free: 360 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/1.722, allocations: 1.727 MB / 0.9279 GB, free: 14.62 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05234/1.775, allocations: 27.55 MB / 0.9548 GB, free: 3.004 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/1.778, allocations: 1.015 MB / 0.9558 GB, free: 1.98 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/1.78, allocations: 1.005 MB / 0.9568 GB, free: 0.9727 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/1.78, allocations: 0 / 0.9568 GB, free: 0.9727 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002623/1.783, allocations: 2.541 MB / 0.9593 GB, free: 14.41 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 2.855e-06/1.783, allocations: 0.7188 kB / 0.9593 GB, free: 14.41 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.0269/1.81, allocations: 16.5 MB / 0.9754 GB, free: 13.78 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/1.81, allocations: 81.11 kB / 0.9755 GB, free: 13.68 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.551/2.361, allocations: 99.07 MB / 1.072 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.001849/2.363, allocations: 277.2 kB / 1.073 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.04737/2.41, allocations: 46.97 MB / 1.118 GB, free: 159 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/2.412, allocations: 260 kB / 1.119 GB, free: 159 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001674/2.414, allocations: 1.735 MB / 1.12 GB, free: 159 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/2.414, allocations: 315.7 kB / 1.121 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/2.415, allocations: 0.9909 MB / 1.122 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/2.416, allocations: 1 MB / 1.123 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/2.419, allocations: 2.05 MB / 1.125 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/2.419, allocations: 3.844 kB / 1.125 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02104/2.44, allocations: 15.5 MB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/2.44, allocations: 39.52 kB / 1.14 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/2.44, allocations: 0 / 1.14 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/2.44, allocations: 0 / 1.14 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/2.44, allocations: 20.92 kB / 1.14 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/2.44, allocations: 0 / 1.14 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01821/2.458, allocations: 257.8 kB / 1.14 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01021/2.468, allocations: 3.418 MB / 1.143 GB, free: 157.9 MB / 0.7329 GB 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.02968/2.498, allocations: 19.19 MB / 1.162 GB, free: 145.3 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01534/2.514, allocations: 9.045 MB / 1.171 GB, free: 141.2 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02418/2.538, allocations: 10.22 MB / 1.181 GB, free: 130.9 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/2.538, allocations: 4.656 kB / 1.181 GB, free: 130.9 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/2.538, allocations: 0 / 1.181 GB, free: 130.9 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/2.538, allocations: 1.844 kB / 1.181 GB, free: 130.9 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05616/2.594, allocations: 30 MB / 1.21 GB, free: 100.8 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/2.594, allocations: 0 / 1.21 GB, free: 100.8 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/2.594, allocations: 0 / 1.21 GB, free: 100.8 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/2.594, allocations: 0 / 1.21 GB, free: 100.8 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002239/2.596, allocations: 0.7383 MB / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-06/2.596, allocations: 7.562 kB / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.596, allocations: 7.484 kB / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02177/2.618, allocations: 16.14 MB / 1.227 GB, free: 83.81 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02438/2.643, allocations: 7.657 MB / 1.234 GB, free: 76.02 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01111/2.654, allocations: 256 kB / 1.234 GB, free: 75.77 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01382/2.668, allocations: 255.9 kB / 1.235 GB, free: 75.52 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/2.668, allocations: 2 kB / 1.235 GB, free: 75.52 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008646/2.676, allocations: 3.422 MB / 1.238 GB, free: 72.1 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.0928/2.769, allocations: 68.98 MB / 1.305 GB, free: 3.77 MB / 0.7329 GB Notification: Performance of sort global known variables: time 4.61e-07/2.769, allocations: 0 / 1.305 GB, free: 3.77 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.00953/2.779, allocations: 2.474 MB / 1.308 GB, free: 1.301 MB / 0.7329 GB 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.001005/2.78, allocations: 373.8 kB / 1.308 GB, free: 0.9297 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.003355/2.783, allocations: 2.331 MB / 1.31 GB, free: 14.59 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/2.783, allocations: 0 / 1.31 GB, free: 14.59 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/2.785, allocations: 1.333 MB / 1.312 GB, free: 13.25 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04246/2.828, allocations: 6.746 MB / 1.318 GB, free: 6.496 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5262/3.354, allocations: 144 MB / 1.459 GB, free: 172.5 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06394/3.418, allocations: 34.38 MB / 1.492 GB, free: 138.1 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.04469/3.463, allocations: 18.72 MB / 1.511 GB, free: 119.3 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007532/3.47, allocations: 3.914 MB / 1.515 GB, free: 115.4 MB / 0.7485 GB Notification: Performance of SimCode: time 1.273e-06/3.47, allocations: 0 / 1.515 GB, free: 115.4 MB / 0.7485 GB Notification: Performance of Templates: time 1.116/4.587, allocations: 339.4 MB / 1.846 GB, free: 47.14 MB / 0.7485 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches