Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001389/0.001389, allocations: 176.1 kB / 8.348 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.41/1.41, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.000986/0.000986, allocations: 89.84 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.028/1.028, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.465e-05, allocations: 3.938 kB / 0.5295 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.5712, allocations: 82.83 MB / 0.6104 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.7346, allocations: 124.8 MB / 0.7323 GB, free: 172 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.7348, allocations: 59.97 kB / 0.7323 GB, free: 112 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.7495, allocations: 4.319 MB / 0.7365 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7495, allocations: 0 / 0.7365 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.7496, allocations: 4 kB / 0.7365 GB, free: 11.77 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.001332/0.7509, allocations: 0.6509 MB / 0.7372 GB, free: 11.07 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.751, allocations: 12.03 kB / 0.7372 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.751, allocations: 27.81 kB / 0.7372 GB, free: 11.03 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.7514, allocations: 254.6 kB / 0.7375 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.7515, allocations: 8 kB / 0.7375 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.7516, allocations: 47.81 kB / 0.7375 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003737/0.7519, allocations: 189 kB / 0.7377 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.7525, allocations: 307.6 kB / 0.738 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.7525, allocations: 0 / 0.738 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.7525, allocations: 3.953 kB / 0.738 GB, free: 10.19 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.7526, allocations: 4 kB / 0.738 GB, free: 10.19 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.7547, allocations: 0.947 MB / 0.7389 GB, free: 9.199 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.7585, allocations: 1.194 MB / 0.7401 GB, free: 7.996 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.7588, allocations: 172.8 kB / 0.7402 GB, free: 7.824 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.7588, allocations: 4 kB / 0.7402 GB, free: 7.82 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.7589, allocations: 46.55 kB / 0.7403 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.7589, allocations: 0 / 0.7403 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0007515/0.7597, allocations: 393.3 kB / 0.7407 GB, free: 7.379 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.7598, allocations: 67.39 kB / 0.7407 GB, free: 7.301 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.7599, allocations: 117.1 kB / 0.7408 GB, free: 7.176 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.7599, allocations: 29.64 kB / 0.7409 GB, free: 7.141 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.76, allocations: 117.1 kB / 0.741 GB, free: 7.02 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.7602, allocations: 189.2 kB / 0.7412 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.7603, allocations: 3.938 kB / 0.7412 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.7605, allocations: 342.8 kB / 0.7415 GB, free: 6.484 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.7608, allocations: 205.5 kB / 0.7417 GB, free: 6.285 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.7611, allocations: 205.4 kB / 0.7419 GB, free: 6.082 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.7615, allocations: 248.4 kB / 0.7421 GB, free: 5.84 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7615, allocations: 0 / 0.7421 GB, free: 5.84 MB / 0.5419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008482/0.7624, allocations: 0.5507 MB / 0.7427 GB, free: 5.285 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7624, allocations: 4 kB / 0.7427 GB, free: 5.281 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7624, allocations: 4 kB / 0.7427 GB, free: 5.277 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7624, allocations: 0 / 0.7427 GB, free: 5.277 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.7633, allocations: 231.7 kB / 0.7429 GB, free: 5.051 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.7634, allocations: 7.984 kB / 0.7429 GB, free: 5.043 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.7636, allocations: 43.52 kB / 0.7429 GB, free: 5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.7637, allocations: 23.94 kB / 0.743 GB, free: 4.977 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.0001246/0.7638, allocations: 113.2 kB / 0.7431 GB, free: 4.859 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.7639, allocations: 23.72 kB / 0.7431 GB, free: 4.836 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.764, allocations: 42.19 kB / 0.7431 GB, free: 4.797 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.764, allocations: 4 kB / 0.7431 GB, free: 4.793 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7641, allocations: 0 / 0.7431 GB, free: 4.793 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7641, allocations: 3.984 kB / 0.7431 GB, free: 4.789 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.7645, allocations: 341.7 kB / 0.7435 GB, free: 4.418 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7645, allocations: 384 / 0.7435 GB, free: 4.418 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.7658, allocations: 219.8 kB / 0.7437 GB, free: 4.203 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.7658, allocations: 4 kB / 0.7437 GB, free: 4.199 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7659, allocations: 27.97 kB / 0.7437 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7659, allocations: 7.875 kB / 0.7437 GB, free: 4.164 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7659, allocations: 0 / 0.7437 GB, free: 4.164 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.7668, allocations: 0.6747 MB / 0.7444 GB, free: 3.477 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.7669, allocations: 92.86 kB / 0.7445 GB, free: 3.367 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.7669, allocations: 19.97 kB / 0.7445 GB, free: 3.348 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.7672, allocations: 19.97 kB / 0.7445 GB, free: 3.328 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.7673, allocations: 19.97 kB / 0.7445 GB, free: 3.309 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.7673, allocations: 19.98 kB / 0.7445 GB, free: 3.289 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.7674, allocations: 91.22 kB / 0.7446 GB, free: 3.199 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7674, allocations: 0 / 0.7446 GB, free: 3.199 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003444/0.7678, allocations: 99.94 kB / 0.7447 GB, free: 3.102 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.0001813/0.7679, allocations: 127.1 kB / 0.7448 GB, free: 2.969 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0006432/0.7686, allocations: 462.6 kB / 0.7453 GB, free: 2.512 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7686, allocations: 4 kB / 0.7453 GB, free: 2.508 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.7689, allocations: 215.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.0002006/0.7691, allocations: 6.594 kB / 0.7455 GB, free: 2.293 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5913/1.36, allocations: 2.9 MB / 0.7483 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/1.361, allocations: 0.8063 MB / 0.7491 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.000514/1.361, allocations: 160.1 kB / 0.7493 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/1.361, allocations: 26.56 kB / 0.7493 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of SimCode: time 1.041e-06/1.361, allocations: 0.9375 kB / 0.7493 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.006903/1.368, allocations: 2.766 MB / 0.752 GB, free: 134.6 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches