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.001011/0.001011, allocations: 186.6 kB / 8.135 MB, free: 2.133 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.091/1.091, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.0009431/0.0009429, allocations: 92.44 kB / 280.8 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.627/0.627, allocations: 120.4 MB / 452 MB, free: 13.04 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.261e-06, allocations: 0 / 0.5289 GB, free: 51.77 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 82.84 MB / 0.6098 GB, free: 2.855 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6314, allocations: 124.7 MB / 0.7316 GB, free: 4.875 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001648/0.6316, allocations: 68.31 kB / 0.7317 GB, free: 4.852 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02535/0.657, allocations: 7.673 MB / 0.7391 GB, free: 14.28 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.6571, allocations: 8 kB / 0.7392 GB, free: 14.27 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.002214/0.6593, allocations: 0.974 MB / 0.7401 GB, free: 13.27 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6593, allocations: 10.66 kB / 0.7401 GB, free: 13.27 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.6595, allocations: 55.53 kB / 0.7402 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.66, allocations: 325.8 kB / 0.7405 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.66, allocations: 18.88 kB / 0.7405 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.6602, allocations: 90.05 kB / 0.7406 GB, free: 12.76 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006783/0.6609, allocations: 383.1 kB / 0.741 GB, free: 12.48 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.6618, allocations: 0.5936 MB / 0.7415 GB, free: 11.98 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6618, allocations: 0 / 0.7415 GB, free: 11.98 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.6619, allocations: 0 / 0.7415 GB, free: 11.98 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.6619, allocations: 12 kB / 0.7415 GB, free: 11.97 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.666, allocations: 1.737 MB / 0.7432 GB, free: 10.36 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.667, allocations: 0.807 MB / 0.744 GB, free: 9.738 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.6675, allocations: 346.3 kB / 0.7444 GB, free: 9.5 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-05/0.6676, allocations: 8.656 kB / 0.7444 GB, free: 9.492 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.6676, allocations: 45.66 kB / 0.7444 GB, free: 9.445 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.6676, allocations: 0 / 0.7444 GB, free: 9.445 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82): time 0.001295/0.6689, allocations: 0.7753 MB / 0.7452 GB, free: 8.82 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.6689, allocations: 60.06 kB / 0.7452 GB, free: 8.75 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.669, allocations: 129.5 kB / 0.7453 GB, free: 8.629 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.6691, allocations: 25.7 kB / 0.7454 GB, free: 8.598 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.6692, allocations: 140 kB / 0.7455 GB, free: 8.461 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.6694, allocations: 377.2 kB / 0.7459 GB, free: 8.141 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.6695, allocations: 0 / 0.7459 GB, free: 8.141 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6696, allocations: 372.1 kB / 0.7462 GB, free: 7.789 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.6702, allocations: 430.4 kB / 0.7466 GB, free: 7.477 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.6708, allocations: 432.2 kB / 0.747 GB, free: 7.16 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.6714, allocations: 0.5061 MB / 0.7475 GB, free: 6.77 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6714, allocations: 0 / 0.7475 GB, free: 6.77 MB / 0.5109 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001558/0.673, allocations: 1.135 MB / 0.7486 GB, free: 5.844 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.673, allocations: 7.938 kB / 0.7487 GB, free: 5.836 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.673, allocations: 0 / 0.7487 GB, free: 5.836 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6731, allocations: 8 kB / 0.7487 GB, free: 5.828 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.6748, allocations: 424.8 kB / 0.7491 GB, free: 5.422 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6749, allocations: 7.938 kB / 0.7491 GB, free: 5.414 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.6753, allocations: 79.09 kB / 0.7491 GB, free: 5.336 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/0.6754, allocations: 45.03 kB / 0.7492 GB, free: 5.301 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.0001582/0.6756, allocations: 116.2 kB / 0.7493 GB, free: 5.184 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.6757, allocations: 39.56 kB / 0.7493 GB, free: 5.145 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.6758, allocations: 82.94 kB / 0.7494 GB, free: 5.137 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.6758, allocations: 8 kB / 0.7494 GB, free: 5.129 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6759, allocations: 0 / 0.7494 GB, free: 5.129 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6759, allocations: 3.984 kB / 0.7494 GB, free: 5.125 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.6766, allocations: 0.5422 MB / 0.75 GB, free: 4.617 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6766, allocations: 0 / 0.75 GB, free: 4.617 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/0.6792, allocations: 430.5 kB / 0.7504 GB, free: 4.207 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.6793, allocations: 4 kB / 0.7504 GB, free: 4.203 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.6794, allocations: 53.44 kB / 0.7504 GB, free: 4.156 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6794, allocations: 4 kB / 0.7504 GB, free: 4.152 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6794, allocations: 0 / 0.7504 GB, free: 4.152 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001539/0.681, allocations: 1.211 MB / 0.7516 GB, free: 3.172 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.6811, allocations: 116.5 kB / 0.7517 GB, free: 3.039 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6812, allocations: 35.95 kB / 0.7518 GB, free: 3.004 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.6817, allocations: 27.97 kB / 0.7518 GB, free: 2.977 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6818, allocations: 44.23 kB / 0.7518 GB, free: 2.938 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.6819, allocations: 26.92 kB / 0.7519 GB, free: 2.918 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.501e-05/0.6819, allocations: 91.22 kB / 0.7519 GB, free: 2.832 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0005071/0.6825, allocations: 199.7 kB / 0.7521 GB, free: 2.637 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.0002421/0.6827, allocations: 138.5 kB / 0.7523 GB, free: 2.496 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.6839, allocations: 0.9526 MB / 0.7532 GB, free: 1.762 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6839, allocations: 0 / 0.7532 GB, free: 1.762 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.6845, allocations: 435.5 kB / 0.7536 GB, free: 1.445 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.6847, allocations: 12.12 kB / 0.7536 GB, free: 1.434 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.6913, allocations: 5.675 MB / 0.7592 GB, free: 11.77 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/0.6921, allocations: 1.026 MB / 0.7602 GB, free: 10.74 MB / 0.5265 GB Notification: Performance of SimCode: time 5.91e-07/0.6921, allocations: 0 / 0.7602 GB, free: 10.74 MB / 0.5265 GB Notification: Performance of Templates: time 0.01246/0.7046, allocations: 8.276 MB / 0.7682 GB, free: 2.496 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/jenkins1/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