Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001497/0.001497, allocations: 184 kB / 8.137 MB, free: 2.215 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.166/1.166, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.0008773/0.0008772, allocations: 107.9 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.7375/0.7375, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.172e-06/6.202e-06, allocations: 0 / 0.5289 GB, free: 51.76 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 82.84 MB / 0.6098 GB, free: 2.812 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6233/0.7699, allocations: 124.7 MB / 0.7316 GB, free: 4.594 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.7702, allocations: 62.14 kB / 0.7316 GB, free: 4.57 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02547/0.7956, allocations: 7.689 MB / 0.7392 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.674e-05/0.7957, allocations: 8 kB / 0.7392 GB, free: 13.97 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.002246/0.798, allocations: 0.979 MB / 0.7401 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.798, allocations: 8.031 kB / 0.7401 GB, free: 12.97 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.7982, allocations: 55.53 kB / 0.7402 GB, free: 12.91 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.7987, allocations: 329.3 kB / 0.7405 GB, free: 12.55 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.7987, allocations: 16 kB / 0.7405 GB, free: 12.54 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.7989, allocations: 88.92 kB / 0.7406 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006978/0.7996, allocations: 374.5 kB / 0.7409 GB, free: 12.18 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.8006, allocations: 0.5994 MB / 0.7415 GB, free: 11.69 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.8006, allocations: 0 / 0.7415 GB, free: 11.69 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.8006, allocations: 4 kB / 0.7415 GB, free: 11.68 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.8007, allocations: 12 kB / 0.7415 GB, free: 11.67 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.8045, allocations: 1.729 MB / 0.7432 GB, free: 10.06 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/0.8055, allocations: 0.8096 MB / 0.744 GB, free: 9.441 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.806, allocations: 346.4 kB / 0.7444 GB, free: 9.203 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.806, allocations: 8.656 kB / 0.7444 GB, free: 9.195 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.8061, allocations: 39.09 kB / 0.7444 GB, free: 9.152 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=82): time 1.723e-06/0.8061, allocations: 4.938 kB / 0.7444 GB, free: 9.148 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82): time 0.001178/0.8073, allocations: 0.7675 MB / 0.7452 GB, free: 8.531 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.8073, allocations: 64 kB / 0.7452 GB, free: 8.457 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8074, allocations: 138.2 kB / 0.7453 GB, free: 8.328 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.8075, allocations: 25.7 kB / 0.7454 GB, free: 8.297 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.8076, allocations: 140.7 kB / 0.7455 GB, free: 8.16 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.8078, allocations: 373 kB / 0.7459 GB, free: 7.844 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.8079, allocations: 0 / 0.7459 GB, free: 7.844 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.808, allocations: 376.7 kB / 0.7462 GB, free: 7.488 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.8086, allocations: 426.9 kB / 0.7466 GB, free: 7.18 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.8092, allocations: 438.3 kB / 0.747 GB, free: 6.859 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.8099, allocations: 0.5014 MB / 0.7475 GB, free: 6.473 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8099, allocations: 0 / 0.7475 GB, free: 6.473 MB / 0.5109 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001568/0.8114, allocations: 1.128 MB / 0.7486 GB, free: 5.551 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8115, allocations: 7.984 kB / 0.7486 GB, free: 5.543 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8115, allocations: 0 / 0.7486 GB, free: 5.543 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.8115, allocations: 8 kB / 0.7487 GB, free: 5.535 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.8133, allocations: 425.9 kB / 0.7491 GB, free: 5.129 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8133, allocations: 5.484 kB / 0.7491 GB, free: 5.125 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.8138, allocations: 79.09 kB / 0.7491 GB, free: 5.047 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/0.8139, allocations: 42.22 kB / 0.7492 GB, free: 5.016 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.0001585/0.814, allocations: 120.7 kB / 0.7493 GB, free: 4.891 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.8141, allocations: 35.62 kB / 0.7493 GB, free: 4.855 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.8143, allocations: 84.06 kB / 0.7494 GB, free: 4.848 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.8143, allocations: 12 kB / 0.7494 GB, free: 4.836 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8143, allocations: 0 / 0.7494 GB, free: 4.836 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.8144, allocations: 3.984 kB / 0.7494 GB, free: 4.832 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.8151, allocations: 0.5436 MB / 0.75 GB, free: 4.324 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8151, allocations: 0 / 0.75 GB, free: 4.324 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/0.8176, allocations: 434.6 kB / 0.7504 GB, free: 3.91 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.8177, allocations: 4 kB / 0.7504 GB, free: 3.906 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.8178, allocations: 51.5 kB / 0.7504 GB, free: 3.859 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.8178, allocations: 8 kB / 0.7504 GB, free: 3.852 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8178, allocations: 0 / 0.7504 GB, free: 3.852 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001547/0.8194, allocations: 1.205 MB / 0.7516 GB, free: 2.875 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.8194, allocations: 120.5 kB / 0.7517 GB, free: 2.738 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.8196, allocations: 31.97 kB / 0.7518 GB, free: 2.707 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.8201, allocations: 27.97 kB / 0.7518 GB, free: 2.68 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.8202, allocations: 47.48 kB / 0.7518 GB, free: 2.641 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.8203, allocations: 22.98 kB / 0.7518 GB, free: 2.621 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.405e-05/0.8204, allocations: 98.45 kB / 0.7519 GB, free: 2.531 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0005251/0.8209, allocations: 203.7 kB / 0.7521 GB, free: 2.332 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.0002318/0.8211, allocations: 138.9 kB / 0.7523 GB, free: 2.191 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.8224, allocations: 0.941 MB / 0.7532 GB, free: 1.469 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8224, allocations: 4 kB / 0.7532 GB, free: 1.465 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.8229, allocations: 435 kB / 0.7536 GB, free: 1.148 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.8231, allocations: 8.719 kB / 0.7536 GB, free: 1.141 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.8297, allocations: 5.681 MB / 0.7592 GB, free: 11.47 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/0.8305, allocations: 1.025 MB / 0.7602 GB, free: 10.44 MB / 0.5265 GB Notification: Performance of SimCode: time 4.81e-07/0.8305, allocations: 0 / 0.7602 GB, free: 10.44 MB / 0.5265 GB Notification: Performance of Templates: time 0.01288/0.8434, allocations: 8.264 MB / 0.7682 GB, free: 2.207 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches