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.001826/0.001826, allocations: 101.3 kB / 17.06 MB, free: 6.117 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.001861/0.001861, allocations: 200.1 kB / 18 MB, free: 5.195 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9685/0.9685, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 62.47 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1484, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002269/0.1507, allocations: 1.417 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.1517, allocations: 0.5652 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1518, allocations: 4 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.1557, allocations: 6.853 MB / 0.6583 GB, free: 4.203 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.16, allocations: 6.88 MB / 0.6651 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1605, allocations: 83.77 kB / 0.6651 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0125/0.173, allocations: 17.04 MB / 0.6818 GB, free: 12.17 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 6.482e-05/0.1731, allocations: 4 kB / 0.6818 GB, free: 12.16 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/0.1846, allocations: 8.458 MB / 0.69 GB, free: 3.691 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02073/0.2054, allocations: 16.15 MB / 0.7058 GB, free: 3.52 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.004766/0.2103, allocations: 0.9805 MB / 0.7068 GB, free: 2.539 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.2148, allocations: 1.051 MB / 0.7078 GB, free: 1.488 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.04184/0.2566, allocations: 39.8 MB / 0.7467 GB, free: 9.582 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.03494/0.2916, allocations: 22.48 MB / 0.7686 GB, free: 2.875 MB / 0.6077 GB Notification: Performance of NFConvertDAE.convert: time 0.7443/1.036, allocations: 49.41 MB / 0.8169 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.036, allocations: 0 / 0.8169 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.184e-06/1.036, allocations: 0 / 0.8169 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.00367/1.04, allocations: 0 / 0.8169 GB, free: 50.5 MB / 0.6079 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.1571/1.197, allocations: 77.13 MB / 0.8922 GB, free: 3.566 MB / 0.6235 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.197, allocations: 8.031 kB / 0.8922 GB, free: 3.559 MB / 0.6235 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0194/1.216, allocations: 8.801 MB / 0.9008 GB, free: 10.64 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3286/1.545, allocations: 103.1 MB / 1.001 GB, free: 2.965 MB / 0.7329 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.545, allocations: 384 / 1.001 GB, free: 2.965 MB / 0.7329 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/1.547, allocations: 252.4 kB / 1.002 GB, free: 2.719 MB / 0.7329 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/1.552, allocations: 2.976 MB / 1.005 GB, free: 15.73 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/1.552, allocations: 7.938 kB / 1.005 GB, free: 15.72 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004429/1.553, allocations: 253.7 kB / 1.005 GB, free: 15.48 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.553, allocations: 0 / 1.005 GB, free: 15.48 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/1.555, allocations: 1.734 MB / 1.007 GB, free: 13.75 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07984/1.635, allocations: 27.54 MB / 1.033 GB, free: 2.141 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005801/1.641, allocations: 1.017 MB / 1.034 GB, free: 1.117 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005686/1.646, allocations: 1.008 MB / 1.035 GB, free: 112 kB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/1.646, allocations: 2.5 kB / 1.035 GB, free: 112 kB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007166/1.654, allocations: 2.537 MB / 1.038 GB, free: 13.55 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=8): time 5.23e-06/1.654, allocations: 2.625 kB / 1.038 GB, free: 13.55 MB / 0.7798 GB Notification: Performance of matching and sorting (n=8): time 0.03299/1.687, allocations: 16.5 MB / 1.054 GB, free: 12.92 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/1.687, allocations: 77.8 kB / 1.054 GB, free: 12.83 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6972/2.384, allocations: 99.07 MB / 1.151 GB, free: 207.4 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002082/2.386, allocations: 275.7 kB / 1.151 GB, free: 207.4 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06118/2.447, allocations: 46.97 MB / 1.197 GB, free: 162.8 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.002033/2.449, allocations: 268.8 kB / 1.197 GB, free: 162.5 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002867/2.452, allocations: 1.732 MB / 1.199 GB, free: 160.8 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/2.452, allocations: 306 kB / 1.199 GB, free: 160.5 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/2.453, allocations: 0.9961 MB / 1.2 GB, free: 159.5 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/2.455, allocations: 0.9883 MB / 1.201 GB, free: 158.5 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/2.457, allocations: 2.057 MB / 1.203 GB, free: 156.4 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.457, allocations: 3.531 kB / 1.203 GB, free: 156.4 MB / 0.811 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02366/2.481, allocations: 15.51 MB / 1.218 GB, free: 145.8 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 9.46e-05/2.481, allocations: 43.41 kB / 1.218 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/2.481, allocations: 0 / 1.218 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/2.481, allocations: 0 / 1.218 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/2.481, allocations: 4 kB / 1.218 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/2.481, allocations: 0 / 1.218 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/2.494, allocations: 262.9 kB / 1.219 GB, free: 145.5 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005404/2.499, allocations: 3.422 MB / 1.222 GB, free: 142.1 MB / 0.811 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.0342/2.533, allocations: 19.19 MB / 1.241 GB, free: 122.9 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0133/2.547, allocations: 9.049 MB / 1.249 GB, free: 118.7 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02572/2.572, allocations: 10.22 MB / 1.259 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/2.572, allocations: 0 / 1.259 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.572, allocations: 2.531 kB / 1.259 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/2.572, allocations: 7.984 kB / 1.259 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07416/2.647, allocations: 29.99 MB / 1.289 GB, free: 78.4 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/2.647, allocations: 3.984 kB / 1.289 GB, free: 78.4 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/2.647, allocations: 4 kB / 1.289 GB, free: 78.39 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/2.647, allocations: 3.719 kB / 1.289 GB, free: 78.39 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002534/2.649, allocations: 0.7407 MB / 1.289 GB, free: 77.66 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/2.649, allocations: 0 / 1.289 GB, free: 77.66 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.649, allocations: 0 / 1.289 GB, free: 77.66 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02381/2.673, allocations: 16.13 MB / 1.305 GB, free: 61.38 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01839/2.692, allocations: 7.658 MB / 1.313 GB, free: 53.59 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01095/2.703, allocations: 263.9 kB / 1.313 GB, free: 53.33 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01062/2.713, allocations: 255.8 kB / 1.313 GB, free: 53.09 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/2.713, allocations: 7.109 kB / 1.313 GB, free: 53.08 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005542/2.719, allocations: 3.423 MB / 1.317 GB, free: 49.66 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1379/2.857, allocations: 68.98 MB / 1.384 GB, free: 13.33 MB / 0.8423 GB Notification: Performance of sort global known variables: time 3.226e-06/2.857, allocations: 4 kB / 1.384 GB, free: 13.32 MB / 0.8423 GB Notification: Performance of remove unused functions: time 0.01364/2.87, allocations: 2.469 MB / 1.386 GB, free: 10.86 MB / 0.8423 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.00211/2.873, allocations: 379.6 kB / 1.387 GB, free: 10.48 MB / 0.8423 GB Notification: Performance of simCode: created initialization part: time 0.01082/2.883, allocations: 2.329 MB / 1.389 GB, free: 8.148 MB / 0.8423 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/2.884, allocations: 4 kB / 1.389 GB, free: 8.145 MB / 0.8423 GB Notification: Performance of simCode: created simulation system equations: time 0.005263/2.889, allocations: 1.334 MB / 1.39 GB, free: 6.805 MB / 0.8423 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03753/2.926, allocations: 6.746 MB / 1.397 GB, free: 56 kB / 0.8423 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6517/3.578, allocations: 144 MB / 1.537 GB, free: 216.8 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07847/3.657, allocations: 34.38 MB / 1.571 GB, free: 182.4 MB / 0.8579 GB Notification: Performance of simCode: alias equations: time 0.05743/3.714, allocations: 18.71 MB / 1.589 GB, free: 163.7 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00909/3.723, allocations: 3.917 MB / 1.593 GB, free: 159.7 MB / 0.8579 GB Notification: Performance of SimCode: time 1.593e-06/3.723, allocations: 0 / 1.593 GB, free: 159.7 MB / 0.8579 GB Notification: Performance of Templates: time 1.226/4.949, allocations: 339.4 MB / 1.925 GB, free: 128.5 MB / 0.8579 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/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