Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 183.3 kB / 8.134 MB, free: 2.219 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.23/1.23, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.001051/0.001051, allocations: 91.23 kB / 280.8 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.811/0.811, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.422e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 82.84 MB / 0.6091 GB, free: 3.59 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5056/0.6725, allocations: 125.9 MB / 0.7321 GB, free: 4.141 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001052/0.6726, allocations: 50.06 kB / 0.7321 GB, free: 4.125 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01719/0.6898, allocations: 7.254 MB / 0.7392 GB, free: 13.74 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 4.872e-05/0.6899, allocations: 16 kB / 0.7392 GB, free: 13.73 MB / 0.5109 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.001255/0.6911, allocations: 1.134 MB / 0.7403 GB, free: 12.61 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6912, allocations: 12.03 kB / 0.7403 GB, free: 12.6 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.6914, allocations: 146.1 kB / 0.7405 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005845/0.6973, allocations: 1.572 MB / 0.742 GB, free: 11 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.6973, allocations: 0 / 0.742 GB, free: 11 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.6973, allocations: 4 kB / 0.742 GB, free: 11 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/0.6974, allocations: 45.42 kB / 0.7421 GB, free: 10.96 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.6976, allocations: 75.03 kB / 0.7421 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.6976, allocations: 0 / 0.7421 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.6976, allocations: 4.922 kB / 0.7421 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6976, allocations: 7.938 kB / 0.7421 GB, free: 10.87 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.6982, allocations: 0.5508 MB / 0.7427 GB, free: 10.41 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.6982, allocations: 55.06 kB / 0.7427 GB, free: 10.36 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.6983, allocations: 35.73 kB / 0.7428 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.6983, allocations: 0 / 0.7428 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.6985, allocations: 124.2 kB / 0.7429 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.6985, allocations: 0 / 0.7429 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of matching and sorting (n=8): time 0.0004256/0.6989, allocations: 275.3 kB / 0.7431 GB, free: 9.938 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.699, allocations: 83.42 kB / 0.7432 GB, free: 9.84 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.7003, allocations: 1.335 MB / 0.7445 GB, free: 8.758 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7003, allocations: 25.7 kB / 0.7446 GB, free: 8.727 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.7004, allocations: 271.6 kB / 0.7448 GB, free: 8.52 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.7005, allocations: 15.25 kB / 0.7448 GB, free: 8.508 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.7005, allocations: 4 kB / 0.7448 GB, free: 8.504 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7006, allocations: 306 kB / 0.7451 GB, free: 8.199 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.7007, allocations: 31 kB / 0.7451 GB, free: 8.176 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/0.7007, allocations: 22.56 kB / 0.7452 GB, free: 8.16 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.7008, allocations: 35.48 kB / 0.7452 GB, free: 8.129 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7008, allocations: 0 / 0.7452 GB, free: 8.129 MB / 0.5109 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002941/0.7011, allocations: 269.3 kB / 0.7455 GB, free: 7.871 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7011, allocations: 4 kB / 0.7455 GB, free: 7.867 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7011, allocations: 0 / 0.7455 GB, free: 7.867 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.7011, allocations: 4 kB / 0.7455 GB, free: 7.863 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.7012, allocations: 4 kB / 0.7455 GB, free: 7.859 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.7012, allocations: 0 / 0.7455 GB, free: 7.859 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.7013, allocations: 7.906 kB / 0.7455 GB, free: 7.852 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.7014, allocations: 58.75 kB / 0.7455 GB, free: 7.801 MB / 0.5109 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 9.357e-05/0.7015, allocations: 142.4 kB / 0.7457 GB, free: 7.652 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.7016, allocations: 150 kB / 0.7458 GB, free: 7.504 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.7018, allocations: 171.8 kB / 0.746 GB, free: 7.363 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7018, allocations: 0 / 0.746 GB, free: 7.363 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7018, allocations: 0 / 0.746 GB, free: 7.363 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7018, allocations: 3.938 kB / 0.746 GB, free: 7.359 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.7023, allocations: 0.5919 MB / 0.7466 GB, free: 6.859 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7023, allocations: 7.984 kB / 0.7466 GB, free: 6.852 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.7023, allocations: 4 kB / 0.7466 GB, free: 6.848 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7023, allocations: 0 / 0.7466 GB, free: 6.848 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.7024, allocations: 16.09 kB / 0.7466 GB, free: 6.832 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7024, allocations: 7.922 kB / 0.7466 GB, free: 6.824 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7024, allocations: 0.8125 kB / 0.7466 GB, free: 6.824 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003418/0.7027, allocations: 301.4 kB / 0.7469 GB, free: 6.527 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.7029, allocations: 219 kB / 0.7471 GB, free: 6.297 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/0.703, allocations: 8 kB / 0.7471 GB, free: 6.289 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.7032, allocations: 4 kB / 0.7471 GB, free: 6.285 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.7032, allocations: 3.984 kB / 0.7471 GB, free: 6.281 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.7032, allocations: 66.48 kB / 0.7472 GB, free: 6.227 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0009927/0.7042, allocations: 1.059 MB / 0.7482 GB, free: 5.395 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002911/0.7045, allocations: 63.94 kB / 0.7483 GB, free: 5.332 MB / 0.5109 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.0001727/0.7047, allocations: 121.9 kB / 0.7484 GB, free: 5.207 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.7049, allocations: 102.2 kB / 0.7485 GB, free: 5.125 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7049, allocations: 4 kB / 0.7485 GB, free: 5.121 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.705, allocations: 90.62 kB / 0.7486 GB, free: 5.051 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.7053, allocations: 113.3 kB / 0.7487 GB, free: 5.004 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.7078, allocations: 1.667 MB / 0.7503 GB, free: 3.375 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007559/0.7085, allocations: 1.285 MB / 0.7516 GB, free: 2.094 MB / 0.5109 GB Notification: Performance of SimCode: time 3.8e-07/0.7085, allocations: 0 / 0.7516 GB, free: 2.094 MB / 0.5109 GB Notification: Performance of Templates: time 0.01375/0.7223, allocations: 5.448 MB / 0.7569 GB, free: 12.57 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches