Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.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_80,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|cur.80.|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.4..|der.vol.5..|der.vol.80..|time|time|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.|vol.80.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|cur.80.|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.4..|der.vol.5..|der.vol.80..|time|time|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.|vol.80.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80") [: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.001014/0.001014, allocations: 184.7 kB / 8.134 MB, free: 2.211 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.061/1.061, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0009152/0.0009152, allocations: 98.2 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6223/0.6223, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.511e-06/5.891e-06, allocations: 0 / 0.5289 GB, free: 51.79 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 82.85 MB / 0.6098 GB, free: 2.828 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.465/0.5795, allocations: 124.7 MB / 0.7316 GB, free: 4.477 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.5797, allocations: 62.45 kB / 0.7316 GB, free: 4.457 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.04992/0.6296, allocations: 14.87 MB / 0.7462 GB, free: 7.379 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.6297, allocations: 27.44 kB / 0.7462 GB, free: 7.355 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.004222/0.6339, allocations: 1.648 MB / 0.7478 GB, free: 5.715 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.634, allocations: 8.031 kB / 0.7478 GB, free: 5.707 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.6342, allocations: 111 kB / 0.7479 GB, free: 5.598 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.6351, allocations: 485.2 kB / 0.7484 GB, free: 5.086 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.6351, allocations: 28 kB / 0.7484 GB, free: 5.059 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.6354, allocations: 169.9 kB / 0.7486 GB, free: 4.91 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/0.6367, allocations: 0.729 MB / 0.7493 GB, free: 4.363 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.6385, allocations: 1.17 MB / 0.7504 GB, free: 3.406 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.6385, allocations: 0 / 0.7504 GB, free: 3.406 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.6386, allocations: 0 / 0.7504 GB, free: 3.406 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.6387, allocations: 24 kB / 0.7504 GB, free: 3.383 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/0.6461, allocations: 3.28 MB / 0.7537 GB, free: 384 kB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.6481, allocations: 1.606 MB / 0.7552 GB, free: 15.15 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009031/0.649, allocations: 0.6752 MB / 0.7559 GB, free: 14.68 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/0.6491, allocations: 21.31 kB / 0.7559 GB, free: 14.66 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.6491, allocations: 53.44 kB / 0.7559 GB, free: 14.61 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=162): time 2.615e-06/0.6491, allocations: 0 / 0.7559 GB, free: 14.61 MB / 0.5265 GB Notification: Performance of matching and sorting (n=162): time 0.002319/0.6514, allocations: 1.496 MB / 0.7574 GB, free: 13.41 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.6515, allocations: 68.72 kB / 0.7575 GB, free: 13.34 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6516, allocations: 160.6 kB / 0.7576 GB, free: 13.2 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.6517, allocations: 25.7 kB / 0.7577 GB, free: 13.16 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.6518, allocations: 192.8 kB / 0.7578 GB, free: 12.98 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.6523, allocations: 0.7322 MB / 0.7586 GB, free: 12.34 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.6524, allocations: 0 / 0.7586 GB, free: 12.34 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6526, allocations: 422.4 kB / 0.759 GB, free: 11.96 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.6537, allocations: 0.8353 MB / 0.7598 GB, free: 11.34 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.6549, allocations: 0.8493 MB / 0.7606 GB, free: 10.71 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.6563, allocations: 1.011 MB / 0.7616 GB, free: 9.914 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6563, allocations: 0 / 0.7616 GB, free: 9.914 MB / 0.5265 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.003122/0.6595, allocations: 2.229 MB / 0.7638 GB, free: 8.078 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6595, allocations: 8.375 kB / 0.7638 GB, free: 8.07 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6595, allocations: 0 / 0.7638 GB, free: 8.07 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.6595, allocations: 12 kB / 0.7638 GB, free: 8.059 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003528/0.6631, allocations: 0.8297 MB / 0.7646 GB, free: 7.246 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.6631, allocations: 11.94 kB / 0.7646 GB, free: 7.234 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/0.664, allocations: 166 kB / 0.7648 GB, free: 7.07 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.6642, allocations: 74.75 kB / 0.7648 GB, free: 7.02 MB / 0.5265 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 (322): * Single equations (assignments): 322 * 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.0002857/0.6645, allocations: 140.4 kB / 0.765 GB, free: 6.875 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.6647, allocations: 67.34 kB / 0.765 GB, free: 6.809 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.665, allocations: 155.6 kB / 0.7652 GB, free: 6.797 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.665, allocations: 16 kB / 0.7652 GB, free: 6.781 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.665, allocations: 4 kB / 0.7652 GB, free: 6.777 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.665, allocations: 7.969 kB / 0.7652 GB, free: 6.77 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.6663, allocations: 0.954 MB / 0.7661 GB, free: 5.918 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6663, allocations: 0 / 0.7661 GB, free: 5.918 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005219/0.6715, allocations: 0.8305 MB / 0.767 GB, free: 5.105 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/0.6715, allocations: 12 kB / 0.767 GB, free: 5.094 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/0.6718, allocations: 103.3 kB / 0.7671 GB, free: 5.004 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.6718, allocations: 4 kB / 0.7671 GB, free: 5 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6718, allocations: 0 / 0.7671 GB, free: 5 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003039/0.6749, allocations: 2.29 MB / 0.7693 GB, free: 3.168 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.675, allocations: 148.1 kB / 0.7694 GB, free: 3.004 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.6752, allocations: 75.91 kB / 0.7695 GB, free: 2.93 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/0.6761, allocations: 59.94 kB / 0.7696 GB, free: 2.871 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.6764, allocations: 87.14 kB / 0.7697 GB, free: 2.797 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.6765, allocations: 50.28 kB / 0.7697 GB, free: 2.758 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.848e-05/0.6766, allocations: 95.14 kB / 0.7698 GB, free: 2.668 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0007113/0.6773, allocations: 379.5 kB / 0.7702 GB, free: 2.297 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 160 (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],cur_x[40],cur_x[41],cur_x[42],cur_x[43],cur_x[44],cur_x[45],cur_x[46],cur_x[47],cur_x[48],cur_x[49],cur_x[50],cur_x[51],cur_x[52],cur_x[53],cur_x[54],cur_x[55],cur_x[56],cur_x[57],cur_x[58],cur_x[59],cur_x[60],cur_x[61],cur_x[62],cur_x[63],cur_x[64],cur_x[65],cur_x[66],cur_x[67],cur_x[68],cur_x[69],cur_x[70],cur_x[71],cur_x[72],cur_x[73],cur_x[74],cur_x[75],cur_x[76],cur_x[77],cur_x[78],cur_x[79],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],vol[41],vol[42],vol[43],vol[44],vol[45],vol[46],vol[47],vol[48],vol[49],vol[50],vol[51],vol[52],vol[53],vol[54],vol[55],vol[56],vol[57],vol[58],vol[59],vol[60],vol[61],vol[62],vol[63],vol[64],vol[65],vol[66],vol[67],vol[68],vol[69],vol[70],vol[71],vol[72],vol[73],vol[74],vol[75],vol[76],vol[77],vol[78],vol[79],vol[80],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000284/0.6776, allocations: 200.2 kB / 0.7703 GB, free: 2.105 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.68, allocations: 1.881 MB / 0.7722 GB, free: 0.6602 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.68, allocations: 0 / 0.7722 GB, free: 0.6602 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.681, allocations: 0.8505 MB / 0.773 GB, free: 28 kB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.6813, allocations: 7.812 kB / 0.773 GB, free: 24 kB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.6936, allocations: 11.41 MB / 0.7842 GB, free: 4.668 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/0.695, allocations: 1.331 MB / 0.7855 GB, free: 3.344 MB / 0.5421 GB Notification: Performance of SimCode: time 3.2e-07/0.695, allocations: 288 / 0.7855 GB, free: 3.344 MB / 0.5421 GB Notification: Performance of Templates: time 0.02336/0.7184, allocations: 16.25 MB / 0.8013 GB, free: 3.125 MB / 0.5578 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches