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.001601/0.001601, allocations: 113.7 kB / 17.74 MB, free: 5.312 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.001628/0.001628, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9546/0.9546, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 61.98 kB / 0.5716 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1661, allocations: 80.7 MB / 0.6504 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002504/0.1687, allocations: 1.405 MB / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.1697, allocations: 0.5729 MB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.1698, allocations: 4 kB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.003948/0.1737, allocations: 6.845 MB / 0.659 GB, free: 4.211 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.178, allocations: 6.892 MB / 0.6657 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.1785, allocations: 79.78 kB / 0.6658 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.1907, allocations: 17.04 MB / 0.6824 GB, free: 12.17 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.1909, allocations: 4 kB / 0.6824 GB, free: 12.16 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.2013, allocations: 8.466 MB / 0.6907 GB, free: 3.684 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01865/0.22, allocations: 16.14 MB / 0.7065 GB, free: 3.52 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.004206/0.2242, allocations: 0.9766 MB / 0.7074 GB, free: 2.543 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00408/0.2283, allocations: 1.058 MB / 0.7085 GB, free: 1.484 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.04323/0.2716, allocations: 39.8 MB / 0.7473 GB, free: 9.578 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.03504/0.3067, allocations: 22.48 MB / 0.7693 GB, free: 2.875 MB / 0.6077 GB Notification: Performance of NFConvertDAE.convert: time 0.7355/1.042, allocations: 49.4 MB / 0.8175 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.042, allocations: 0 / 0.8175 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of FrontEnd: time 3.356e-06/1.042, allocations: 0 / 0.8175 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.0036/1.046, allocations: 2.016 kB / 0.8175 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.144/1.19, allocations: 77.13 MB / 0.8928 GB, free: 3.551 MB / 0.6235 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.19, allocations: 12.03 kB / 0.8929 GB, free: 3.539 MB / 0.6235 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/1.209, allocations: 8.794 MB / 0.9014 GB, free: 10.62 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3193/1.528, allocations: 103 MB / 1.002 GB, free: 2.957 MB / 0.7329 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/1.528, allocations: 4.375 kB / 1.002 GB, free: 2.953 MB / 0.7329 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/1.531, allocations: 252.4 kB / 1.002 GB, free: 2.707 MB / 0.7329 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/1.541, allocations: 2.977 MB / 1.005 GB, free: 15.72 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.541, allocations: 6.344 kB / 1.005 GB, free: 15.71 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001528/1.542, allocations: 252 kB / 1.005 GB, free: 15.47 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.542, allocations: 0 / 1.005 GB, free: 15.47 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005353/1.548, allocations: 1.73 MB / 1.007 GB, free: 13.75 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07305/1.621, allocations: 27.55 MB / 1.034 GB, free: 2.125 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006089/1.627, allocations: 1.022 MB / 1.035 GB, free: 1.098 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005604/1.633, allocations: 1.005 MB / 1.036 GB, free: 92 kB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/1.633, allocations: 0 / 1.036 GB, free: 92 kB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00738/1.64, allocations: 2.541 MB / 1.039 GB, free: 13.54 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=8): time 5.541e-06/1.64, allocations: 2.625 kB / 1.039 GB, free: 13.54 MB / 0.7798 GB Notification: Performance of matching and sorting (n=8): time 0.04623/1.686, allocations: 16.5 MB / 1.055 GB, free: 12.91 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/1.686, allocations: 85.05 kB / 1.055 GB, free: 12.81 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6618/2.348, allocations: 99.06 MB / 1.151 GB, free: 207.3 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002031/2.35, allocations: 277.7 kB / 1.152 GB, free: 207.2 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.065/2.415, allocations: 46.97 MB / 1.198 GB, free: 162.8 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.002456/2.418, allocations: 265.2 kB / 1.198 GB, free: 162.5 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005378/2.423, allocations: 1.734 MB / 1.2 GB, free: 160.8 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 5.361e-05/2.423, allocations: 310 kB / 1.2 GB, free: 160.5 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/2.427, allocations: 0.9922 MB / 1.201 GB, free: 159.5 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/2.43, allocations: 0.9966 MB / 1.202 GB, free: 158.5 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006119/2.436, allocations: 2.06 MB / 1.204 GB, free: 156.4 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/2.436, allocations: 0 / 1.204 GB, free: 156.4 MB / 0.811 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.03576/2.472, allocations: 15.51 MB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/2.472, allocations: 41.44 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.472, allocations: 0 / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/2.472, allocations: 3.938 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/2.472, allocations: 4 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/2.472, allocations: 5.031 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01393/2.486, allocations: 258.9 kB / 1.219 GB, free: 145.5 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007122/2.493, allocations: 3.422 MB / 1.223 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.03282/2.526, allocations: 19.19 MB / 1.241 GB, free: 122.9 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01735/2.543, allocations: 9.042 MB / 1.25 GB, free: 118.7 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02737/2.571, allocations: 10.23 MB / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/2.571, allocations: 0 / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.571, allocations: 0 / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/2.571, allocations: 0 / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0675/2.638, allocations: 29.99 MB / 1.289 GB, free: 78.4 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/2.638, allocations: 4 kB / 1.289 GB, free: 78.39 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/2.638, allocations: 3.984 kB / 1.289 GB, free: 78.39 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/2.638, allocations: 0 / 1.289 GB, free: 78.39 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002111/2.641, allocations: 0.7421 MB / 1.29 GB, free: 77.65 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/2.641, allocations: 0.7812 kB / 1.29 GB, free: 77.65 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.641, allocations: 1.594 kB / 1.29 GB, free: 77.65 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/2.663, allocations: 16.14 MB / 1.306 GB, free: 61.38 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01711/2.68, allocations: 7.657 MB / 1.313 GB, free: 53.58 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009852/2.69, allocations: 259.9 kB / 1.314 GB, free: 53.33 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01175/2.701, allocations: 252.9 kB / 1.314 GB, free: 53.08 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/2.702, allocations: 11.7 kB / 1.314 GB, free: 53.07 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004914/2.706, allocations: 3.422 MB / 1.317 GB, free: 49.65 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1221/2.829, allocations: 68.98 MB / 1.385 GB, free: 13.32 MB / 0.8423 GB Notification: Performance of sort global known variables: time 1.603e-06/2.829, allocations: 0 / 1.385 GB, free: 13.32 MB / 0.8423 GB Notification: Performance of remove unused functions: time 0.01309/2.842, allocations: 2.477 MB / 1.387 GB, free: 10.85 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.001908/2.844, allocations: 375.2 kB / 1.387 GB, free: 10.48 MB / 0.8423 GB Notification: Performance of simCode: created initialization part: time 0.007617/2.851, allocations: 2.331 MB / 1.39 GB, free: 8.141 MB / 0.8423 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/2.851, allocations: 0.5625 kB / 1.39 GB, free: 8.141 MB / 0.8423 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/2.853, allocations: 1.331 MB / 1.391 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.0396/2.893, allocations: 6.75 MB / 1.398 GB, free: 52 kB / 0.8423 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6361/3.529, allocations: 147.4 MB / 1.541 GB, free: 213.4 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07183/3.601, allocations: 34.39 MB / 1.575 GB, free: 178.9 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006692/3.608, allocations: 3.916 MB / 1.579 GB, free: 175 MB / 0.8579 GB Notification: Performance of SimCode: time 1.512e-06/3.608, allocations: 0 / 1.579 GB, free: 175 MB / 0.8579 GB Notification: Performance of Templates: time 76.96/80.57, allocations: 23.64 GB / 25.22 GB, free: 56.84 MB / 1.03 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/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