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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 90.03 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8569/0.8569, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.215e-05, allocations: 0 / 0.5288 GB, free: 1.324 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.5408, allocations: 82.85 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.6845, allocations: 126 MB / 0.7327 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001376/0.6847, allocations: 55.97 kB / 0.7328 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 15.11/15.79, allocations: 2.182 GB / 2.915 GB, free: 180.2 MB / 0.7296 GB Notification: Performance of FrontEnd: time 1.823e-06/15.79, allocations: 1.406 kB / 2.915 GB, free: 180.2 MB / 0.7296 GB Notification: Performance of Transformations before backend: time 0.005334/15.8, allocations: 0.983 MB / 2.916 GB, free: 180.2 MB / 0.7296 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.077/15.88, allocations: 49.29 MB / 2.964 GB, free: 149.6 MB / 0.7296 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/15.88, allocations: 7.156 kB / 2.964 GB, free: 149.6 MB / 0.7296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/15.89, allocations: 9.039 MB / 2.973 GB, free: 144.6 MB / 0.7296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2738/16.17, allocations: 89.13 MB / 3.06 GB, free: 65.76 MB / 0.7296 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/16.17, allocations: 3.938 kB / 3.06 GB, free: 65.76 MB / 0.7296 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007787/16.17, allocations: 252 kB / 3.06 GB, free: 65.51 MB / 0.7296 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001806/16.17, allocations: 1.484 MB / 3.061 GB, free: 64.03 MB / 0.7296 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/16.17, allocations: 2.729 MB / 3.064 GB, free: 61.29 MB / 0.7296 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/16.17, allocations: 4 kB / 3.064 GB, free: 61.29 MB / 0.7296 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004673/16.17, allocations: 252 kB / 3.064 GB, free: 61.04 MB / 0.7296 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/16.17, allocations: 3.953 kB / 3.064 GB, free: 61.04 MB / 0.7296 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05575/16.23, allocations: 26.94 MB / 3.09 GB, free: 34.03 MB / 0.7296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/16.23, allocations: 0.7681 MB / 3.091 GB, free: 33.25 MB / 0.7296 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/16.23, allocations: 0.7586 MB / 3.092 GB, free: 32.49 MB / 0.7296 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/16.23, allocations: 4 kB / 3.092 GB, free: 32.49 MB / 0.7296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/16.23, allocations: 2.291 MB / 3.094 GB, free: 30.18 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/16.23, allocations: 0 / 3.094 GB, free: 30.18 MB / 0.7296 GB Notification: Performance of matching and sorting (n=8): time 0.01489/16.25, allocations: 14.01 MB / 3.108 GB, free: 16.04 MB / 0.7296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/16.25, allocations: 81.11 kB / 3.108 GB, free: 15.95 MB / 0.7296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5631/16.81, allocations: 78.7 MB / 3.185 GB, free: 129.7 MB / 0.7296 GB Notification: Performance of collectPreVariables (initialization): time 0.0009866/16.81, allocations: 277.5 kB / 3.185 GB, free: 129.7 MB / 0.7296 GB Notification: Performance of collectInitialEqns (initialization): time 0.06368/16.87, allocations: 47.7 MB / 3.232 GB, free: 90.7 MB / 0.7296 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/16.87, allocations: 267.8 kB / 3.232 GB, free: 90.7 MB / 0.7296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/16.88, allocations: 250.5 kB / 3.232 GB, free: 90.7 MB / 0.7296 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/16.88, allocations: 313.1 kB / 3.232 GB, free: 90.39 MB / 0.7296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/16.88, allocations: 0.7447 MB / 3.233 GB, free: 90.39 MB / 0.7296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/16.88, allocations: 0.7453 MB / 3.234 GB, free: 90.38 MB / 0.7296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/16.88, allocations: 0.7512 MB / 3.235 GB, free: 90.38 MB / 0.7296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/16.88, allocations: 0 / 3.235 GB, free: 90.38 MB / 0.7296 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01626/16.89, allocations: 14.01 MB / 3.248 GB, free: 90.33 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/16.89, allocations: 40.81 kB / 3.248 GB, free: 90.3 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/16.89, allocations: 0 / 3.248 GB, free: 90.3 MB / 0.7296 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/16.89, allocations: 0 / 3.248 GB, free: 90.3 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/16.9, allocations: 10.78 kB / 3.248 GB, free: 90.29 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/16.9, allocations: 0 / 3.248 GB, free: 90.29 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/16.91, allocations: 262.9 kB / 3.249 GB, free: 90.29 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003268/16.91, allocations: 3.421 MB / 3.252 GB, free: 89.8 MB / 0.7296 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008758/16.91, allocations: 0.6236 MB / 3.253 GB, free: 89.66 MB / 0.7296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01106/16.92, allocations: 9.039 MB / 3.261 GB, free: 84.68 MB / 0.7296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02827/16.95, allocations: 10.23 MB / 3.271 GB, free: 97.77 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/16.95, allocations: 0 / 3.271 GB, free: 97.77 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/16.95, allocations: 2.062 kB / 3.271 GB, free: 97.77 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/16.95, allocations: 7.188 kB / 3.271 GB, free: 97.77 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08766/17.04, allocations: 29.39 MB / 3.3 GB, free: 88.62 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/17.04, allocations: 0.75 kB / 3.3 GB, free: 88.62 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/17.04, allocations: 3.531 kB / 3.3 GB, free: 88.62 MB / 0.7453 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/17.04, allocations: 0 / 3.3 GB, free: 88.62 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001368/17.04, allocations: 0.7362 MB / 3.301 GB, free: 88.62 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/17.04, allocations: 0 / 3.301 GB, free: 88.62 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/17.04, allocations: 6.984 kB / 3.301 GB, free: 88.62 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/17.06, allocations: 14.63 MB / 3.315 GB, free: 77.34 MB / 0.7453 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01711/17.07, allocations: 7.663 MB / 3.323 GB, free: 69.55 MB / 0.7453 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008588/17.08, allocations: 252 kB / 3.323 GB, free: 69.3 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008755/17.09, allocations: 252 kB / 3.323 GB, free: 69.06 MB / 0.7453 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/17.09, allocations: 6.453 kB / 3.323 GB, free: 69.05 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003888/17.09, allocations: 3.422 MB / 3.326 GB, free: 65.63 MB / 0.7453 GB Notification: Performance of sorting global known variables: time 0.1353/17.23, allocations: 62.39 MB / 3.387 GB, free: 6.879 MB / 0.7453 GB Notification: Performance of sort global known variables: time 2.7e-07/17.23, allocations: 1.688 kB / 3.387 GB, free: 6.879 MB / 0.7453 GB Notification: Performance of remove unused functions: time 0.01162/17.24, allocations: 2.477 MB / 3.39 GB, free: 4.41 MB / 0.7453 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/17.24, allocations: 367.7 kB / 3.39 GB, free: 4.047 MB / 0.7453 GB Notification: Performance of simCode: created initialization part: time 0.002343/17.25, allocations: 1.839 MB / 3.392 GB, free: 2.199 MB / 0.7453 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/17.25, allocations: 0 / 3.392 GB, free: 2.199 MB / 0.7453 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/17.25, allocations: 1.084 MB / 3.393 GB, free: 1.105 MB / 0.7453 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01746/17.26, allocations: 6.509 MB / 3.399 GB, free: 10.61 MB / 0.7609 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6694/17.93, allocations: 118.3 MB / 3.515 GB, free: 144.1 MB / 0.7609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08256/18.02, allocations: 35.84 MB / 3.55 GB, free: 133.3 MB / 0.7609 GB Notification: Performance of simCode: alias equations: time 0.05821/18.07, allocations: 18.64 MB / 3.568 GB, free: 119.7 MB / 0.7609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004334/18.08, allocations: 3.916 MB / 3.572 GB, free: 115.8 MB / 0.7609 GB Notification: Performance of SimCode: time 9.42e-07/18.08, allocations: 4 kB / 3.572 GB, free: 115.8 MB / 0.7609 GB Notification: Performance of Templates: time 1.187/19.27, allocations: 290.1 MB / 3.855 GB, free: 129.4 MB / 0.7765 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches