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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108.2 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.243/1.243, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 59.91 kB / 0.4923 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.7472, allocations: 80.68 MB / 0.5711 GB, free: 43.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002301/0.7495, allocations: 1.339 MB / 0.5724 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.7498, allocations: 69.39 kB / 0.5725 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.7498, allocations: 0.9375 kB / 0.5725 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.7499, allocations: 9.047 kB / 0.5725 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.75, allocations: 15.19 kB / 0.5725 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.7502, allocations: 16.34 kB / 0.5725 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.7505, allocations: 353.8 kB / 0.5728 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.7506, allocations: 4.125 kB / 0.5729 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.7507, allocations: 136.4 kB / 0.573 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.7509, allocations: 168.1 kB / 0.5731 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.751, allocations: 18.84 kB / 0.5732 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.759e-05/0.7511, allocations: 17.47 kB / 0.5732 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.7512, allocations: 138.4 kB / 0.5733 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.7514, allocations: 149.2 kB / 0.5735 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.7516, allocations: 247.5 kB / 0.5737 GB, free: 42.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7516, allocations: 0 / 0.5737 GB, free: 42.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7516, allocations: 0 / 0.5737 GB, free: 42.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.7516, allocations: 1.438 kB / 0.5737 GB, free: 42.14 MB / 462.3 MB 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.001429/0.7531, allocations: 0.7341 MB / 0.5744 GB, free: 41.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7531, allocations: 12.95 kB / 0.5744 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.7532, allocations: 31.78 kB / 0.5744 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.7535, allocations: 249.8 kB / 0.5747 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.7535, allocations: 36.58 kB / 0.5747 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.7536, allocations: 52.69 kB / 0.5748 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.7541, allocations: 343.7 kB / 0.5751 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.7542, allocations: 5.406 kB / 0.5751 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.7542, allocations: 13.03 kB / 0.5751 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.7542, allocations: 10.72 kB / 0.5751 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.7546, allocations: 208.4 kB / 0.5753 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.7564, allocations: 0.9979 MB / 0.5763 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.7599, allocations: 1.217 MB / 0.5775 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.7602, allocations: 189.1 kB / 0.5777 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.7603, allocations: 7.672 kB / 0.5777 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.7603, allocations: 41.97 kB / 0.5777 GB, free: 39.67 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.393e-06/0.7603, allocations: 4 kB / 0.5777 GB, free: 39.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0009753/0.7613, allocations: 0.5668 MB / 0.5783 GB, free: 39.4 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.7613, allocations: 56.44 kB / 0.5783 GB, free: 39.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.7614, allocations: 131.5 kB / 0.5785 GB, free: 39.22 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.7614, allocations: 40.23 kB / 0.5785 GB, free: 39.18 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.7615, allocations: 118 kB / 0.5786 GB, free: 39.06 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.7616, allocations: 194.3 kB / 0.5788 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.7617, allocations: 123.1 kB / 0.5789 GB, free: 38.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.7618, allocations: 343.7 kB / 0.5792 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.7621, allocations: 223.4 kB / 0.5794 GB, free: 38.39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.7624, allocations: 235.8 kB / 0.5797 GB, free: 38.28 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.7631, allocations: 0.4905 MB / 0.5802 GB, free: 38.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7631, allocations: 0 / 0.5802 GB, free: 38.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008417/0.7639, allocations: 0.6247 MB / 0.5808 GB, free: 37.76 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.764, allocations: 7.719 kB / 0.5808 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.764, allocations: 1.25 kB / 0.5808 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.764, allocations: 6.469 kB / 0.5808 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.7649, allocations: 228.8 kB / 0.581 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7649, allocations: 8.062 kB / 0.581 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.7651, allocations: 55.2 kB / 0.5811 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.7652, allocations: 20.39 kB / 0.5811 GB, free: 37.65 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.7653, allocations: 162.2 kB / 0.5812 GB, free: 37.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.7654, allocations: 26.53 kB / 0.5813 GB, free: 37.49 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.7655, allocations: 51.06 kB / 0.5813 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7655, allocations: 4.438 kB / 0.5813 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.7655, allocations: 1.156 kB / 0.5813 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7655, allocations: 3.984 kB / 0.5813 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.7659, allocations: 392 kB / 0.5817 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7659, allocations: 3.938 kB / 0.5817 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.7671, allocations: 223.1 kB / 0.5819 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.7671, allocations: 1.188 kB / 0.5819 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.7671, allocations: 28.59 kB / 0.5819 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7672, allocations: 6.312 kB / 0.5819 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7672, allocations: 0 / 0.5819 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.7681, allocations: 0.7024 MB / 0.5826 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.7681, allocations: 99.11 kB / 0.5827 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.7682, allocations: 24.5 kB / 0.5827 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.7685, allocations: 29.03 kB / 0.5828 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.7685, allocations: 23.47 kB / 0.5828 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.7686, allocations: 16.8 kB / 0.5828 GB, free: 36.51 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.637e-05/0.7686, allocations: 92.45 kB / 0.5829 GB, free: 36.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7686, allocations: 1.281 kB / 0.5829 GB, free: 36.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003537/0.769, allocations: 122.3 kB / 0.583 GB, free: 36.4 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.7691, allocations: 122.6 kB / 0.5831 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000903/0.77, allocations: 0.607 MB / 0.5837 GB, free: 36.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.77, allocations: 0 / 0.5837 GB, free: 36.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.7703, allocations: 224 kB / 0.5839 GB, free: 35.99 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.7706, allocations: 20.12 kB / 0.584 GB, free: 35.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.7734, allocations: 2.712 MB / 0.5866 GB, free: 33.37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.7736, allocations: 0.7969 MB / 0.5874 GB, free: 32.55 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.7739, allocations: 158.8 kB / 0.5875 GB, free: 32.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.774, allocations: 27.44 kB / 0.5876 GB, free: 32.36 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.774, allocations: 3.938 kB / 0.5876 GB, free: 32.36 MB / 462.3 MB Notification: Performance of Templates: time 0.005034/0.779, allocations: 3.076 MB / 0.5906 GB, free: 29.32 MB / 462.3 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches