Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 175.8 kB / 8.346 MB, free: 0.7266 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.382/1.382, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.001021/0.001021, allocations: 90.19 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.112/1.112, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.44e-05, allocations: 4 kB / 0.5295 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4843, allocations: 82.84 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.6201, allocations: 124.7 MB / 0.7323 GB, free: 164 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.6203, allocations: 67.91 kB / 0.7323 GB, free: 96 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.6342, allocations: 4.319 MB / 0.7365 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6343, allocations: 4 kB / 0.7365 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.6343, allocations: 4 kB / 0.7365 GB, free: 11.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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00115/0.6354, allocations: 0.6548 MB / 0.7372 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.6355, allocations: 8.031 kB / 0.7372 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.6356, allocations: 27.81 kB / 0.7372 GB, free: 11.01 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.6359, allocations: 250.6 kB / 0.7375 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6359, allocations: 8 kB / 0.7375 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.636, allocations: 43.8 kB / 0.7375 GB, free: 10.67 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003219/0.6363, allocations: 189 kB / 0.7377 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.6368, allocations: 307.5 kB / 0.738 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6368, allocations: 0 / 0.738 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.6369, allocations: 11.94 kB / 0.738 GB, free: 10.17 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.6369, allocations: 8 kB / 0.738 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.6388, allocations: 0.947 MB / 0.7389 GB, free: 9.176 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.6424, allocations: 1.186 MB / 0.7401 GB, free: 7.98 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.6426, allocations: 164.8 kB / 0.7402 GB, free: 7.816 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.6427, allocations: 15.88 kB / 0.7403 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.6427, allocations: 38.56 kB / 0.7403 GB, free: 7.754 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 1.482e-06/0.6427, allocations: 0 / 0.7403 GB, free: 7.754 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0006237/0.6433, allocations: 401.3 kB / 0.7407 GB, free: 7.359 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.6434, allocations: 55.41 kB / 0.7407 GB, free: 7.293 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.6435, allocations: 125.1 kB / 0.7408 GB, free: 7.16 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.6435, allocations: 25.7 kB / 0.7409 GB, free: 7.129 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.6436, allocations: 117 kB / 0.741 GB, free: 7.008 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.6437, allocations: 197.2 kB / 0.7412 GB, free: 6.812 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.6438, allocations: 0 / 0.7412 GB, free: 6.812 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6439, allocations: 338.8 kB / 0.7415 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.6442, allocations: 201.5 kB / 0.7417 GB, free: 6.277 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.6445, allocations: 209.4 kB / 0.7419 GB, free: 6.07 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.6448, allocations: 248.3 kB / 0.7421 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6448, allocations: 0 / 0.7421 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000773/0.6456, allocations: 0.5585 MB / 0.7427 GB, free: 5.266 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6456, allocations: 4 kB / 0.7427 GB, free: 5.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6456, allocations: 4 kB / 0.7427 GB, free: 5.258 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.6456, allocations: 4 kB / 0.7427 GB, free: 5.254 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.6465, allocations: 219.8 kB / 0.7429 GB, free: 5.039 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6465, allocations: 4 kB / 0.7429 GB, free: 5.035 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.6468, allocations: 43.5 kB / 0.7429 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.6468, allocations: 23.95 kB / 0.743 GB, free: 4.969 MB / 0.5419 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 (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 prepare postOptimizeDAE: time 0.0001008/0.6469, allocations: 113.2 kB / 0.7431 GB, free: 4.852 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.647, allocations: 23.72 kB / 0.7431 GB, free: 4.828 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.6471, allocations: 46.19 kB / 0.7431 GB, free: 4.785 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.6471, allocations: 7.984 kB / 0.7431 GB, free: 4.777 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6472, allocations: 3.984 kB / 0.7431 GB, free: 4.773 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6472, allocations: 0 / 0.7431 GB, free: 4.773 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.6476, allocations: 333.7 kB / 0.7435 GB, free: 4.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6476, allocations: 0 / 0.7435 GB, free: 4.41 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.6488, allocations: 235.8 kB / 0.7437 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6488, allocations: 384 / 0.7437 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.6489, allocations: 19.97 kB / 0.7437 GB, free: 4.16 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6489, allocations: 4 kB / 0.7437 GB, free: 4.156 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6489, allocations: 0 / 0.7437 GB, free: 4.156 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.6497, allocations: 0.6785 MB / 0.7444 GB, free: 3.465 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.6497, allocations: 96.86 kB / 0.7445 GB, free: 3.352 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.6498, allocations: 11.98 kB / 0.7445 GB, free: 3.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.6501, allocations: 19.97 kB / 0.7445 GB, free: 3.32 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.6501, allocations: 27.95 kB / 0.7445 GB, free: 3.293 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.6502, allocations: 12 kB / 0.7445 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.6502, allocations: 95.27 kB / 0.7446 GB, free: 3.188 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6502, allocations: 7.938 kB / 0.7446 GB, free: 3.18 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003383/0.6506, allocations: 95.94 kB / 0.7447 GB, free: 3.086 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0001483/0.6507, allocations: 119.1 kB / 0.7448 GB, free: 2.961 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0006137/0.6514, allocations: 462.6 kB / 0.7453 GB, free: 2.504 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6514, allocations: 4 kB / 0.7453 GB, free: 2.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.6516, allocations: 207.9 kB / 0.7455 GB, free: 2.297 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.6518, allocations: 14.59 kB / 0.7455 GB, free: 2.285 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4975/1.149, allocations: 2.904 MB / 0.7483 GB, free: 135.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/1.15, allocations: 0.8108 MB / 0.7491 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004325/1.15, allocations: 155.8 kB / 0.7493 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.15, allocations: 30.06 kB / 0.7493 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of SimCode: time 5.81e-07/1.15, allocations: 0.875 kB / 0.7493 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.005861/1.156, allocations: 2.763 MB / 0.752 GB, free: 134.5 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches