Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 240.3 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008892/0.0008891, allocations: 99.19 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9088/0.9088, allocations: 120.5 MB / 463 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 8 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1753, allocations: 82.85 MB / 0.6242 GB, free: 9.219 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9152/1.091, allocations: 126.7 MB / 0.748 GB, free: 7.219 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/1.091, allocations: 51.17 kB / 0.748 GB, free: 7.195 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 3.689/4.78, allocations: 0.6138 GB / 1.362 GB, free: 149.9 MB / 0.714 GB Notification: Performance of FrontEnd: time 4.338e-06/4.78, allocations: 4 kB / 1.362 GB, free: 149.9 MB / 0.714 GB Notification: Performance of Transformations before backend: time 0.003638/4.783, allocations: 500 kB / 1.362 GB, free: 149.4 MB / 0.714 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.06578/4.849, allocations: 34.73 MB / 1.396 GB, free: 117.7 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/4.849, allocations: 16.03 kB / 1.396 GB, free: 117.7 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009096/4.858, allocations: 4.527 MB / 1.401 GB, free: 113.1 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1327/4.991, allocations: 44.97 MB / 1.445 GB, free: 72.43 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/4.991, allocations: 0 / 1.445 GB, free: 72.43 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/4.991, allocations: 132 kB / 1.445 GB, free: 72.3 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/4.993, allocations: 1.512 MB / 1.446 GB, free: 70.78 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/4.993, allocations: 0 / 1.446 GB, free: 70.78 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/4.993, allocations: 124 kB / 1.446 GB, free: 70.66 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/4.993, allocations: 3.953 kB / 1.446 GB, free: 70.66 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008274/4.994, allocations: 0.8827 MB / 1.447 GB, free: 69.77 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.029/5.023, allocations: 13.85 MB / 1.461 GB, free: 55.86 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/5.024, allocations: 0.522 MB / 1.461 GB, free: 55.33 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/5.024, allocations: 4 kB / 1.461 GB, free: 55.33 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/5.025, allocations: 1.313 MB / 1.463 GB, free: 54 MB / 0.714 GB Notification: Performance of pre-optimization done (n=8): time 3.606e-06/5.025, allocations: 0 / 1.463 GB, free: 54 MB / 0.714 GB Notification: Performance of matching and sorting (n=8): time 0.01055/5.036, allocations: 7.909 MB / 1.47 GB, free: 46 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/5.036, allocations: 85.11 kB / 1.47 GB, free: 45.9 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0963/5.132, allocations: 42.57 MB / 1.512 GB, free: 3.75 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.0007481/5.133, allocations: 153.7 kB / 1.512 GB, free: 3.594 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.4045/5.537, allocations: 22.92 MB / 1.534 GB, free: 176.5 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/5.539, allocations: 146 kB / 1.535 GB, free: 176.5 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/5.539, allocations: 127.1 kB / 1.535 GB, free: 176.5 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/5.539, allocations: 306 kB / 1.535 GB, free: 176.2 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/5.54, allocations: 0.5061 MB / 1.535 GB, free: 176.2 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/5.541, allocations: 0.5043 MB / 1.536 GB, free: 176.2 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/5.542, allocations: 0.5324 MB / 1.536 GB, free: 176.2 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/5.542, allocations: 0 / 1.536 GB, free: 176.2 MB / 0.714 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01388/5.556, allocations: 7.335 MB / 1.544 GB, free: 176.1 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/5.556, allocations: 38.69 kB / 1.544 GB, free: 176.1 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/5.556, allocations: 1.75 kB / 1.544 GB, free: 176.1 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/5.556, allocations: 0 / 1.544 GB, free: 176.1 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/5.556, allocations: 3.125 kB / 1.544 GB, free: 176.1 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/5.556, allocations: 0.8438 kB / 1.544 GB, free: 176.1 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/5.561, allocations: 136.6 kB / 1.544 GB, free: 176.1 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/5.563, allocations: 1.719 MB / 1.545 GB, free: 175.8 MB / 0.714 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02057/5.584, allocations: 9.668 MB / 1.555 GB, free: 174.7 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006058/5.59, allocations: 4.521 MB / 1.559 GB, free: 172.2 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/5.605, allocations: 5.117 MB / 1.564 GB, free: 170.7 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/5.606, allocations: 0 / 1.564 GB, free: 170.7 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/5.606, allocations: 0.8125 kB / 1.564 GB, free: 170.7 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/5.606, allocations: 1.266 kB / 1.564 GB, free: 170.7 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04495/5.65, allocations: 15.08 MB / 1.579 GB, free: 165.8 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/5.651, allocations: 1.312 kB / 1.579 GB, free: 165.8 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/5.651, allocations: 5.266 kB / 1.579 GB, free: 165.8 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/5.651, allocations: 5.5 kB / 1.579 GB, free: 165.8 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/5.652, allocations: 378.1 kB / 1.579 GB, free: 165.8 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/5.652, allocations: 3.281 kB / 1.579 GB, free: 165.8 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.652, allocations: 2.812 kB / 1.579 GB, free: 165.8 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009128/5.661, allocations: 7.67 MB / 1.587 GB, free: 162.8 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008302/5.669, allocations: 3.874 MB / 1.591 GB, free: 160.2 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003656/5.673, allocations: 129.2 kB / 1.591 GB, free: 160.2 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/5.676, allocations: 129.5 kB / 1.591 GB, free: 160.2 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/5.676, allocations: 2.484 kB / 1.591 GB, free: 160.2 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001206/5.677, allocations: 1.714 MB / 1.593 GB, free: 160 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.07612/5.753, allocations: 34.36 MB / 1.626 GB, free: 151.5 MB / 0.714 GB Notification: Performance of sort global known variables: time 7.42e-07/5.753, allocations: 2.375 kB / 1.626 GB, free: 151.5 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.005147/5.758, allocations: 1.265 MB / 1.627 GB, free: 151.5 MB / 0.714 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 (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.0005799/5.759, allocations: 252.5 kB / 1.628 GB, free: 151.4 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.00166/5.761, allocations: 1.228 MB / 1.629 GB, free: 151.3 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/5.761, allocations: 3.594 kB / 1.629 GB, free: 151.3 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.0009231/5.762, allocations: 0.7177 MB / 1.63 GB, free: 151.2 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009809/5.772, allocations: 3.265 MB / 1.633 GB, free: 149 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1357/5.907, allocations: 74.97 MB / 1.706 GB, free: 84 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04279/5.95, allocations: 18.07 MB / 1.724 GB, free: 65.88 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.03207/5.982, allocations: 9.382 MB / 1.733 GB, free: 56.51 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/5.985, allocations: 1.964 MB / 1.735 GB, free: 54.55 MB / 0.714 GB Notification: Performance of SimCode: time 1.142e-06/5.985, allocations: 0 / 1.735 GB, free: 54.55 MB / 0.714 GB Notification: Performance of Templates: time 0.7395/6.724, allocations: 165.9 MB / 1.897 GB, free: 144.5 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches