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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 179.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.3 MB / 235.5 MB, free: 2.973 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.0008631/0.0008632, allocations: 90.41 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9306/0.9306, allocations: 120.5 MB / 457.9 MB, free: 7.066 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.639e-05, allocations: 0 / 0.5367 GB, free: 11.24 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5213, allocations: 82.84 MB / 0.6176 GB, free: 9.312 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.6624, allocations: 125.4 MB / 0.74 GB, free: 11.76 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001598/0.6626, allocations: 59.97 kB / 0.7401 GB, free: 11.7 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0277/0.6903, allocations: 7.917 MB / 0.7478 GB, free: 3.762 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6904, allocations: 0 / 0.7478 GB, free: 3.762 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.6904, allocations: 12 kB / 0.7478 GB, free: 3.75 MB / 0.5419 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.002366/0.6928, allocations: 0.9948 MB / 0.7488 GB, free: 2.711 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6928, allocations: 12.02 kB / 0.7488 GB, free: 2.699 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.693, allocations: 55.53 kB / 0.7489 GB, free: 2.645 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.6936, allocations: 330.3 kB / 0.7492 GB, free: 2.281 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.6937, allocations: 57 kB / 0.7492 GB, free: 2.223 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.6939, allocations: 115.7 kB / 0.7494 GB, free: 2.109 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.695, allocations: 0.6309 MB / 0.75 GB, free: 1.473 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.695, allocations: 0 / 0.75 GB, free: 1.473 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.695, allocations: 20 kB / 0.75 GB, free: 1.453 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.6951, allocations: 15.95 kB / 0.75 GB, free: 1.438 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.6958, allocations: 383.8 kB / 0.7504 GB, free: 1.066 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5403/1.236, allocations: 1.832 MB / 0.7522 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008341/1.244, allocations: 2.489 MB / 0.7546 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/1.245, allocations: 361.7 kB / 0.7549 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/1.245, allocations: 9.438 kB / 0.7549 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.245, allocations: 43.28 kB / 0.755 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/1.245, allocations: 0 / 0.755 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=82): time 0.001566/1.247, allocations: 0.8019 MB / 0.7558 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.247, allocations: 61.2 kB / 0.7558 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.247, allocations: 137.5 kB / 0.756 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/1.247, allocations: 53.89 kB / 0.756 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/1.247, allocations: 150.4 kB / 0.7562 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/1.247, allocations: 379.4 kB / 0.7565 GB, free: 129 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/1.247, allocations: 24.81 kB / 0.7565 GB, free: 129 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/1.247, allocations: 371.8 kB / 0.7569 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/1.248, allocations: 428.3 kB / 0.7573 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/1.249, allocations: 447.6 kB / 0.7577 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/1.25, allocations: 0.5067 MB / 0.7582 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.25, allocations: 1.438 kB / 0.7582 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001902/1.252, allocations: 1.179 MB / 0.7594 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.252, allocations: 6.625 kB / 0.7594 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/1.252, allocations: 384 / 0.7594 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.252, allocations: 5.5 kB / 0.7594 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/1.253, allocations: 444 kB / 0.7598 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.253, allocations: 10.62 kB / 0.7598 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/1.254, allocations: 130.3 kB / 0.76 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/1.254, allocations: 41.53 kB / 0.76 GB, free: 127.8 MB / 0.5421 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.0001321/1.254, allocations: 155.4 kB / 0.7601 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/1.254, allocations: 37.53 kB / 0.7602 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/1.254, allocations: 91.52 kB / 0.7603 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.254, allocations: 10.7 kB / 0.7603 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.255, allocations: 3.953 kB / 0.7603 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.255, allocations: 7.172 kB / 0.7603 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/1.255, allocations: 0.604 MB / 0.7609 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.255, allocations: 3.938 kB / 0.7609 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.257, allocations: 446.5 kB / 0.7613 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.257, allocations: 3.812 kB / 0.7613 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/1.258, allocations: 54.45 kB / 0.7614 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.258, allocations: 0 / 0.7614 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.258, allocations: 0 / 0.7614 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/1.259, allocations: 1.261 MB / 0.7626 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/1.259, allocations: 111.4 kB / 0.7627 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.259, allocations: 46.75 kB / 0.7627 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/1.26, allocations: 52.12 kB / 0.7628 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.26, allocations: 54.14 kB / 0.7628 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/1.26, allocations: 22.16 kB / 0.7629 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.342e-05/1.26, allocations: 98 kB / 0.763 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.51e-07/1.26, allocations: 0 / 0.763 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004126/1.26, allocations: 238.1 kB / 0.7632 GB, free: 126.4 MB / 0.5421 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.0001716/1.26, allocations: 167.7 kB / 0.7633 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001085/1.262, allocations: 0.9447 MB / 0.7643 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.262, allocations: 3.812 kB / 0.7643 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004811/1.262, allocations: 431.5 kB / 0.7647 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/1.262, allocations: 26.83 kB / 0.7647 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/1.267, allocations: 5.844 MB / 0.7704 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/1.268, allocations: 0.92 MB / 0.7713 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006413/1.268, allocations: 325 kB / 0.7716 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/1.268, allocations: 43.44 kB / 0.7717 GB, free: 120 MB / 0.5421 GB Notification: Performance of SimCode: time 3.81e-07/1.268, allocations: 3.938 kB / 0.7717 GB, free: 120 MB / 0.5421 GB Notification: Performance of Templates: time 0.008044/1.276, allocations: 5.421 MB / 0.777 GB, free: 115.4 MB / 0.5421 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