Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001117/0.001117, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.0009716/0.0009716, allocations: 192 kB / 18.63 MB, free: 4.375 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.5/1.5, allocations: 222.9 MB / 242.3 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 1.28/1.28, allocations: 119.3 MB / 411.8 MB, free: 9.547 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.89 kB / 0.4924 GB, free: 13.06 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7839, allocations: 80.69 MB / 0.5712 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.003874/0.7878, allocations: 1.408 MB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.7892, allocations: 0.5696 MB / 0.5731 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.7892, allocations: 1.531 kB / 0.5731 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006726/0.796, allocations: 6.847 MB / 0.5798 GB, free: 38.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.8015, allocations: 6.885 MB / 0.5865 GB, free: 33.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.8019, allocations: 82.92 kB / 0.5866 GB, free: 33.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0159/0.8178, allocations: 17.04 MB / 0.6032 GB, free: 16.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.8179, allocations: 4 kB / 0.6032 GB, free: 16.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01605/0.8339, allocations: 8.462 MB / 0.6115 GB, free: 8.203 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02836/0.8623, allocations: 16.13 MB / 0.6272 GB, free: 8.043 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.01066/0.873, allocations: 0.9805 MB / 0.6282 GB, free: 7.062 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008363/0.8814, allocations: 1.059 MB / 0.6292 GB, free: 6.004 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.05862/0.9401, allocations: 39.8 MB / 0.6681 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.05062/0.9908, allocations: 22.49 MB / 0.6901 GB, free: 7.375 MB / 0.5296 GB Notification: Performance of NFConvertDAE.convert: time 0.08311/1.074, allocations: 49.4 MB / 0.7383 GB, free: 5.707 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/1.074, allocations: 0 / 0.7383 GB, free: 5.707 MB / 0.5764 GB Notification: Performance of FrontEnd: time 3.496e-06/1.074, allocations: 3.938 kB / 0.7383 GB, free: 5.703 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002333/1.076, allocations: 0 / 0.7383 GB, free: 5.703 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.9481/2.024, allocations: 77.12 MB / 0.8136 GB, free: 84.44 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/2.025, allocations: 14.98 kB / 0.8136 GB, free: 84.43 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/2.042, allocations: 8.794 MB / 0.8222 GB, free: 75.52 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3619/2.404, allocations: 103.1 MB / 0.9229 GB, free: 3.867 MB / 0.6236 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/2.404, allocations: 4.375 kB / 0.9229 GB, free: 3.863 MB / 0.6236 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/2.407, allocations: 252.4 kB / 0.9231 GB, free: 3.617 MB / 0.6236 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/2.417, allocations: 2.978 MB / 0.926 GB, free: 0.6328 MB / 0.6236 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/2.417, allocations: 0 / 0.926 GB, free: 0.6328 MB / 0.6236 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007227/2.417, allocations: 258.4 kB / 0.9263 GB, free: 392 kB / 0.6236 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/2.417, allocations: 3.047 kB / 0.9263 GB, free: 392 kB / 0.6236 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/2.42, allocations: 1.727 MB / 0.928 GB, free: 14.65 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06803/2.488, allocations: 27.55 MB / 0.9549 GB, free: 3.039 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/2.493, allocations: 1.019 MB / 0.9559 GB, free: 2.012 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/2.498, allocations: 1.001 MB / 0.9568 GB, free: 1.008 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/2.498, allocations: 0 / 0.9568 GB, free: 1.008 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003578/2.502, allocations: 2.545 MB / 0.9593 GB, free: 14.45 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/2.502, allocations: 0 / 0.9593 GB, free: 14.45 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.03155/2.533, allocations: 16.5 MB / 0.9754 GB, free: 13.81 MB / 0.6861 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/2.533, allocations: 85.05 kB / 0.9755 GB, free: 13.71 MB / 0.6861 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7341/3.268, allocations: 99.06 MB / 1.072 GB, free: 181.6 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002924/3.271, allocations: 282.2 kB / 1.073 GB, free: 181.6 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.05944/3.33, allocations: 46.97 MB / 1.118 GB, free: 141.2 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.002363/3.332, allocations: 267.9 kB / 1.119 GB, free: 141.2 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00673/3.339, allocations: 1.734 MB / 1.12 GB, free: 141.2 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/3.339, allocations: 308.4 kB / 1.121 GB, free: 140.9 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/3.342, allocations: 0.9967 MB / 1.122 GB, free: 140.9 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/3.343, allocations: 0.991 MB / 1.123 GB, free: 140.9 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/3.346, allocations: 2.056 MB / 1.125 GB, free: 140.8 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/3.346, allocations: 0 / 1.125 GB, free: 140.8 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02249/3.368, allocations: 15.51 MB / 1.14 GB, free: 140.7 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/3.368, allocations: 41 kB / 1.14 GB, free: 140.6 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/3.368, allocations: 0 / 1.14 GB, free: 140.6 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/3.368, allocations: 0 / 1.14 GB, free: 140.6 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/3.368, allocations: 6.812 kB / 1.14 GB, free: 140.6 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/3.368, allocations: 3.812 kB / 1.14 GB, free: 140.6 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01652/3.385, allocations: 254.5 kB / 1.14 GB, free: 140.6 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006927/3.392, allocations: 3.42 MB / 1.143 GB, free: 140.1 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.03675/3.429, allocations: 19.2 MB / 1.162 GB, free: 121.8 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01985/3.449, allocations: 9.047 MB / 1.171 GB, free: 117.6 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/3.472, allocations: 10.22 MB / 1.181 GB, free: 107.4 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/3.472, allocations: 0 / 1.181 GB, free: 107.4 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/3.472, allocations: 0 / 1.181 GB, free: 107.4 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/3.472, allocations: 11.48 kB / 1.181 GB, free: 107.4 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07098/3.543, allocations: 29.99 MB / 1.21 GB, free: 77.3 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/3.543, allocations: 0 / 1.21 GB, free: 77.3 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/3.544, allocations: 4 kB / 1.21 GB, free: 77.3 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/3.544, allocations: 0 / 1.21 GB, free: 77.3 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00264/3.546, allocations: 0.7398 MB / 1.211 GB, free: 76.56 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/3.546, allocations: 0 / 1.211 GB, free: 76.56 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/3.546, allocations: 0 / 1.211 GB, free: 76.56 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0262/3.572, allocations: 16.14 MB / 1.227 GB, free: 60.28 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0254/3.598, allocations: 7.659 MB / 1.234 GB, free: 52.49 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01184/3.61, allocations: 259.9 kB / 1.234 GB, free: 52.23 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01101/3.621, allocations: 252 kB / 1.235 GB, free: 51.99 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/3.621, allocations: 3.984 kB / 1.235 GB, free: 51.98 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00505/3.626, allocations: 3.422 MB / 1.238 GB, free: 48.56 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1296/3.756, allocations: 68.98 MB / 1.305 GB, free: 12.23 MB / 0.7642 GB Notification: Performance of sort global known variables: time 1.192e-06/3.756, allocations: 9.438 kB / 1.305 GB, free: 12.23 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.01635/3.772, allocations: 2.467 MB / 1.308 GB, free: 9.762 MB / 0.7642 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.002369/3.774, allocations: 375.4 kB / 1.308 GB, free: 9.391 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.01295/3.787, allocations: 2.327 MB / 1.31 GB, free: 7.055 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/3.787, allocations: 4 kB / 1.31 GB, free: 7.051 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.007839/3.795, allocations: 1.331 MB / 1.312 GB, free: 5.707 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05556/3.851, allocations: 6.748 MB / 1.318 GB, free: 14.95 MB / 0.7798 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6671/4.518, allocations: 144 MB / 1.459 GB, free: 186.9 MB / 0.7798 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07481/4.593, allocations: 34.38 MB / 1.492 GB, free: 152.4 MB / 0.7798 GB Notification: Performance of simCode: alias equations: time 0.05949/4.652, allocations: 18.72 MB / 1.511 GB, free: 133.7 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01114/4.664, allocations: 3.916 MB / 1.515 GB, free: 129.8 MB / 0.7798 GB Notification: Performance of SimCode: time 2.054e-06/4.664, allocations: 0 / 1.515 GB, free: 129.8 MB / 0.7798 GB Notification: Performance of Templates: time 1.568/6.231, allocations: 339.4 MB / 1.846 GB, free: 69.83 MB / 0.7798 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches