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.001045/0.001044, allocations: 191.8 kB / 8.141 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.164/1.164, allocations: 221.4 MB / 229.9 MB, free: 3.238 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.0008423/0.0008422, allocations: 91.62 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7461/0.7461, allocations: 120.4 MB / 452 MB, free: 12.95 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.704e-06, allocations: 0 / 0.5289 GB, free: 51.75 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1619, allocations: 82.85 MB / 0.6098 GB, free: 2.766 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6947/0.8567, allocations: 124.7 MB / 0.7316 GB, free: 4.438 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.857, allocations: 61.97 kB / 0.7316 GB, free: 4.418 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.053/0.91, allocations: 14.88 MB / 0.7462 GB, free: 7.332 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 3.667e-05/0.9101, allocations: 20 kB / 0.7462 GB, free: 7.312 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.00569/0.9158, allocations: 1.649 MB / 0.7478 GB, free: 5.672 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.9158, allocations: 8.031 kB / 0.7478 GB, free: 5.664 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.9166, allocations: 107.1 kB / 0.7479 GB, free: 5.559 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.918, allocations: 481.2 kB / 0.7484 GB, free: 5.051 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.9181, allocations: 28 kB / 0.7484 GB, free: 5.023 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007339/0.9188, allocations: 172.9 kB / 0.7486 GB, free: 4.875 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001836/0.9207, allocations: 0.7272 MB / 0.7493 GB, free: 4.328 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.9238, allocations: 1.171 MB / 0.7504 GB, free: 3.371 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.9239, allocations: 0 / 0.7504 GB, free: 3.371 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.9241, allocations: 0 / 0.7504 GB, free: 3.371 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.9242, allocations: 27.98 kB / 0.7504 GB, free: 3.344 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00992/0.9341, allocations: 3.28 MB / 0.7536 GB, free: 344 kB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.9369, allocations: 1.613 MB / 0.7552 GB, free: 15.11 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.9381, allocations: 0.6746 MB / 0.7559 GB, free: 14.64 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.9383, allocations: 17.31 kB / 0.7559 GB, free: 14.62 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.9383, allocations: 53.56 kB / 0.7559 GB, free: 14.57 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=162): time 4.339e-06/0.9383, allocations: 0 / 0.7559 GB, free: 14.57 MB / 0.5265 GB Notification: Performance of matching and sorting (n=162): time 0.003106/0.9414, allocations: 1.496 MB / 0.7574 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.9415, allocations: 69.66 kB / 0.7575 GB, free: 13.3 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.9417, allocations: 163.7 kB / 0.7576 GB, free: 13.15 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.9419, allocations: 29.7 kB / 0.7577 GB, free: 13.12 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.9421, allocations: 197.9 kB / 0.7578 GB, free: 12.93 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/0.9428, allocations: 0.7263 MB / 0.7586 GB, free: 12.3 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.9429, allocations: 0 / 0.7586 GB, free: 12.3 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002896/0.9432, allocations: 420.9 kB / 0.759 GB, free: 11.92 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.9448, allocations: 0.836 MB / 0.7598 GB, free: 11.29 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.9464, allocations: 0.8461 MB / 0.7606 GB, free: 10.66 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.9482, allocations: 1.014 MB / 0.7616 GB, free: 9.863 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.9483, allocations: 0 / 0.7616 GB, free: 9.863 MB / 0.5265 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.003827/0.9521, allocations: 2.225 MB / 0.7638 GB, free: 8.031 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.9521, allocations: 8 kB / 0.7638 GB, free: 8.023 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.9522, allocations: 3.984 kB / 0.7638 GB, free: 8.02 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.952e-05/0.9522, allocations: 8 kB / 0.7638 GB, free: 8.012 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/0.956, allocations: 0.8328 MB / 0.7646 GB, free: 7.199 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.119e-05/0.9561, allocations: 13.41 kB / 0.7646 GB, free: 7.188 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.9573, allocations: 166 kB / 0.7648 GB, free: 7.023 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.9576, allocations: 71 kB / 0.7648 GB, free: 6.973 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.0004931/0.9581, allocations: 136.4 kB / 0.765 GB, free: 6.832 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.9585, allocations: 67.34 kB / 0.765 GB, free: 6.766 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.9589, allocations: 165.7 kB / 0.7652 GB, free: 6.746 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.9589, allocations: 16 kB / 0.7652 GB, free: 6.73 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.9589, allocations: 0 / 0.7652 GB, free: 6.73 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.9589, allocations: 7.969 kB / 0.7652 GB, free: 6.723 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.9608, allocations: 0.9478 MB / 0.7661 GB, free: 5.875 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.9608, allocations: 4 kB / 0.7661 GB, free: 5.871 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005546/0.9664, allocations: 0.8413 MB / 0.767 GB, free: 5.051 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.885e-05/0.9665, allocations: 4 kB / 0.767 GB, free: 5.047 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/0.9669, allocations: 97.14 kB / 0.7671 GB, free: 4.961 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.726e-05/0.9669, allocations: 8 kB / 0.7671 GB, free: 4.953 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.9669, allocations: 0 / 0.7671 GB, free: 4.953 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00421/0.9712, allocations: 2.288 MB / 0.7693 GB, free: 3.125 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.9714, allocations: 156.1 kB / 0.7694 GB, free: 2.953 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.9718, allocations: 71.91 kB / 0.7695 GB, free: 2.883 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.9729, allocations: 55.88 kB / 0.7696 GB, free: 2.828 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.9732, allocations: 88.45 kB / 0.7697 GB, free: 2.754 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.9734, allocations: 51.53 kB / 0.7697 GB, free: 2.715 MB / 0.5265 GB Notification: Performance of sort global known variables: time 7.924e-05/0.9735, allocations: 91.47 kB / 0.7698 GB, free: 2.629 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001253/0.9747, allocations: 395.5 kB / 0.7702 GB, free: 2.242 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.0003672/0.9751, allocations: 195.3 kB / 0.7704 GB, free: 2.055 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.00324/0.9783, allocations: 1.881 MB / 0.7722 GB, free: 0.6094 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9784, allocations: 4 kB / 0.7722 GB, free: 0.6055 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.9797, allocations: 0.8466 MB / 0.773 GB, free: 15.97 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.9802, allocations: 3.938 kB / 0.773 GB, free: 15.97 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.9959, allocations: 11.41 MB / 0.7842 GB, free: 4.621 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/0.9981, allocations: 1.332 MB / 0.7855 GB, free: 3.297 MB / 0.5421 GB Notification: Performance of SimCode: time 1.623e-06/0.9981, allocations: 0 / 0.7855 GB, free: 3.297 MB / 0.5421 GB Notification: Performance of Templates: time 0.03106/1.029, allocations: 16.24 MB / 0.8013 GB, free: 3.09 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/jenkins/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