Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") [: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.001556/0.001556, allocations: 188.1 kB / 8.138 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.215/1.215, allocations: 221.4 MB / 229.9 MB, free: 3.07 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.001014/0.001014, allocations: 96.39 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7956/0.7956, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.794e-06, allocations: 0 / 0.5289 GB, free: 51.75 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 82.85 MB / 0.6098 GB, free: 2.805 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4981/0.6415, allocations: 124.7 MB / 0.7316 GB, free: 4.406 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001522/0.6417, allocations: 64.12 kB / 0.7316 GB, free: 4.383 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02508/0.6668, allocations: 7.679 MB / 0.7391 GB, free: 13.79 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.6668, allocations: 15.69 kB / 0.7392 GB, free: 13.78 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002176/0.669, allocations: 0.9689 MB / 0.7401 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6691, allocations: 18.66 kB / 0.7401 GB, free: 12.78 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.6692, allocations: 55.53 kB / 0.7402 GB, free: 12.72 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.6697, allocations: 326.3 kB / 0.7405 GB, free: 12.36 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.6698, allocations: 16 kB / 0.7405 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.6699, allocations: 90.42 kB / 0.7406 GB, free: 12.27 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006374/0.6706, allocations: 380.6 kB / 0.741 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.6714, allocations: 0.5923 MB / 0.7415 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6715, allocations: 0 / 0.7415 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.6715, allocations: 0 / 0.7415 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.6715, allocations: 12 kB / 0.7415 GB, free: 11.48 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.6753, allocations: 1.734 MB / 0.7432 GB, free: 9.871 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.6763, allocations: 0.8111 MB / 0.744 GB, free: 9.25 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.6767, allocations: 350.1 kB / 0.7444 GB, free: 9.008 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.6768, allocations: 8.656 kB / 0.7444 GB, free: 9 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6768, allocations: 42.33 kB / 0.7444 GB, free: 8.953 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=82): time 1.763e-06/0.6768, allocations: 0 / 0.7444 GB, free: 8.953 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82): time 0.001181/0.678, allocations: 0.7682 MB / 0.7452 GB, free: 8.336 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.6781, allocations: 68 kB / 0.7452 GB, free: 8.258 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.6782, allocations: 127.8 kB / 0.7453 GB, free: 8.137 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.6782, allocations: 25.7 kB / 0.7454 GB, free: 8.105 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.6783, allocations: 141.3 kB / 0.7455 GB, free: 7.969 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.6786, allocations: 378.1 kB / 0.7459 GB, free: 7.648 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.6786, allocations: 0 / 0.7459 GB, free: 7.648 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6787, allocations: 370.1 kB / 0.7462 GB, free: 7.301 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.6793, allocations: 426.9 kB / 0.7466 GB, free: 6.988 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.6799, allocations: 429.8 kB / 0.747 GB, free: 6.676 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.6805, allocations: 0.5138 MB / 0.7475 GB, free: 6.277 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6805, allocations: 0 / 0.7475 GB, free: 6.277 MB / 0.5109 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001457/0.682, allocations: 1.129 MB / 0.7486 GB, free: 5.355 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.682, allocations: 4 kB / 0.7486 GB, free: 5.352 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.682, allocations: 0 / 0.7486 GB, free: 5.352 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6821, allocations: 4 kB / 0.7487 GB, free: 5.348 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.6839, allocations: 438.2 kB / 0.7491 GB, free: 4.93 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6839, allocations: 4 kB / 0.7491 GB, free: 4.926 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.6844, allocations: 80.59 kB / 0.7491 GB, free: 4.848 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.6844, allocations: 42.09 kB / 0.7492 GB, free: 4.816 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * 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.0001509/0.6846, allocations: 120.7 kB / 0.7493 GB, free: 4.691 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.6847, allocations: 38.94 kB / 0.7493 GB, free: 4.656 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.6849, allocations: 84.27 kB / 0.7494 GB, free: 4.648 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6849, allocations: 8 kB / 0.7494 GB, free: 4.641 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6849, allocations: 0 / 0.7494 GB, free: 4.641 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.6849, allocations: 3.984 kB / 0.7494 GB, free: 4.637 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.6856, allocations: 0.5417 MB / 0.75 GB, free: 4.129 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6856, allocations: 0 / 0.75 GB, free: 4.129 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/0.6882, allocations: 429.4 kB / 0.7504 GB, free: 3.719 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6882, allocations: 0 / 0.7504 GB, free: 3.719 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.6883, allocations: 51.88 kB / 0.7504 GB, free: 3.672 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.6883, allocations: 8.438 kB / 0.7504 GB, free: 3.664 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6883, allocations: 0 / 0.7504 GB, free: 3.664 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001476/0.6898, allocations: 1.215 MB / 0.7516 GB, free: 2.68 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.6899, allocations: 112.5 kB / 0.7517 GB, free: 2.551 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.69, allocations: 43.95 kB / 0.7518 GB, free: 2.508 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.6905, allocations: 23.97 kB / 0.7518 GB, free: 2.484 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.6906, allocations: 47.8 kB / 0.7518 GB, free: 2.441 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/0.6907, allocations: 27.3 kB / 0.7519 GB, free: 2.422 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.123e-05/0.6908, allocations: 86.84 kB / 0.7519 GB, free: 2.34 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.000463/0.6912, allocations: 195.7 kB / 0.7521 GB, free: 2.148 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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.0001944/0.6914, allocations: 150.5 kB / 0.7523 GB, free: 2 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.6926, allocations: 0.9389 MB / 0.7532 GB, free: 1.277 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6926, allocations: 0 / 0.7532 GB, free: 1.277 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.6931, allocations: 436.5 kB / 0.7536 GB, free: 0.957 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.6933, allocations: 19.41 kB / 0.7536 GB, free: 0.9414 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.6996, allocations: 5.677 MB / 0.7592 GB, free: 11.27 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007818/0.7004, allocations: 1.013 MB / 0.7602 GB, free: 10.25 MB / 0.5265 GB Notification: Performance of SimCode: time 3.51e-07/0.7004, allocations: 0 / 0.7602 GB, free: 10.25 MB / 0.5265 GB Notification: Performance of Templates: time 0.01252/0.7129, allocations: 8.278 MB / 0.7682 GB, free: 2.008 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches