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.00111/0.00111, allocations: 81.75 kB / 16.31 MB, free: 6.449 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.00126/0.00126, allocations: 183.6 kB / 17.21 MB, free: 6.316 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.414/1.414, allocations: 223.3 MB / 241.2 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.092/1.092, allocations: 120.5 MB / 412.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 12 kB / 0.4956 GB, free: 9.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1963, allocations: 82.85 MB / 0.5765 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002166/0.1986, allocations: 1.045 MB / 0.5775 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000318/0.1989, allocations: 56.08 kB / 0.5775 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.199, allocations: 4 kB / 0.5775 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1992, allocations: 4 kB / 0.5775 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1993, allocations: 19.84 kB / 0.5776 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1995, allocations: 23.97 kB / 0.5776 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.2, allocations: 311.4 kB / 0.5779 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.2001, allocations: 7.922 kB / 0.5779 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2003, allocations: 139.8 kB / 0.578 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.2007, allocations: 183.6 kB / 0.5782 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.2009, allocations: 20 kB / 0.5782 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.2009, allocations: 16 kB / 0.5782 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.2011, allocations: 147.7 kB / 0.5784 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2013, allocations: 65.64 kB / 0.5784 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.2016, allocations: 171.6 kB / 0.5786 GB, free: 4.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.2016, allocations: 0 / 0.5786 GB, free: 4.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2016, allocations: 3.938 kB / 0.5786 GB, free: 4.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2017, allocations: 0 / 0.5786 GB, free: 4.543 MB / 446.1 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.001867/0.2035, allocations: 0.6851 MB / 0.5793 GB, free: 3.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2036, allocations: 12.03 kB / 0.5793 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.2037, allocations: 35.67 kB / 0.5793 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2041, allocations: 238.8 kB / 0.5796 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.2042, allocations: 32.56 kB / 0.5796 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.2043, allocations: 59.8 kB / 0.5796 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.205, allocations: 344.7 kB / 0.58 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.205, allocations: 0 / 0.58 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.2051, allocations: 12 kB / 0.58 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2051, allocations: 4 kB / 0.58 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.2055, allocations: 210 kB / 0.5802 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.2078, allocations: 1.026 MB / 0.5812 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/0.2117, allocations: 1.217 MB / 0.5824 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.212, allocations: 184.8 kB / 0.5825 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.2121, allocations: 4 kB / 0.5826 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2121, allocations: 43.25 kB / 0.5826 GB, free: 300 kB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.264e-06/0.2121, allocations: 0 / 0.5826 GB, free: 300 kB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.7254/0.9375, allocations: 0.566 MB / 0.5831 GB, free: 16.54 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.9376, allocations: 62.83 kB / 0.5832 GB, free: 16.48 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.9378, allocations: 132.4 kB / 0.5833 GB, free: 16.38 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.9379, allocations: 37.86 kB / 0.5834 GB, free: 16.35 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.938, allocations: 120.7 kB / 0.5835 GB, free: 16.25 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.9382, allocations: 189.3 kB / 0.5837 GB, free: 16.15 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.9382, allocations: 12.69 kB / 0.5837 GB, free: 16.15 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9384, allocations: 343.9 kB / 0.584 GB, free: 15.84 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.9389, allocations: 221.3 kB / 0.5842 GB, free: 15.83 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.9394, allocations: 229.8 kB / 0.5844 GB, free: 15.83 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.9399, allocations: 265.3 kB / 0.5847 GB, free: 15.82 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9399, allocations: 1.609 kB / 0.5847 GB, free: 15.82 MB / 446.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001225/0.9411, allocations: 0.6135 MB / 0.5853 GB, free: 15.76 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.9412, allocations: 9.5 kB / 0.5853 GB, free: 15.76 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.9412, allocations: 8.172 kB / 0.5853 GB, free: 15.76 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.9412, allocations: 3.625 kB / 0.5853 GB, free: 15.76 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.9423, allocations: 222.5 kB / 0.5855 GB, free: 15.76 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.9423, allocations: 3.344 kB / 0.5855 GB, free: 15.76 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.9425, allocations: 54.83 kB / 0.5856 GB, free: 15.73 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.9426, allocations: 22.59 kB / 0.5856 GB, free: 15.73 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.9428, allocations: 158.2 kB / 0.5857 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.9428, allocations: 19.11 kB / 0.5858 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.943, allocations: 50.34 kB / 0.5858 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.9431, allocations: 8.734 kB / 0.5858 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.9431, allocations: 4.625 kB / 0.5858 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.9431, allocations: 2.109 kB / 0.5858 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.9437, allocations: 394.8 kB / 0.5862 GB, free: 15.4 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9437, allocations: 0 / 0.5862 GB, free: 15.4 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.945, allocations: 224.1 kB / 0.5864 GB, free: 15.4 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.9451, allocations: 3.312 kB / 0.5864 GB, free: 15.4 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.9451, allocations: 29.08 kB / 0.5865 GB, free: 15.4 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.9452, allocations: 4.188 kB / 0.5865 GB, free: 15.4 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.9452, allocations: 4.891 kB / 0.5865 GB, free: 15.39 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.9466, allocations: 0.7047 MB / 0.5871 GB, free: 15.23 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.9466, allocations: 103.6 kB / 0.5872 GB, free: 15.11 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/0.9467, allocations: 27.27 kB / 0.5873 GB, free: 15.11 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.947, allocations: 22 kB / 0.5873 GB, free: 15.11 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9471, allocations: 29.53 kB / 0.5873 GB, free: 15.11 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.9472, allocations: 16.11 kB / 0.5873 GB, free: 15.11 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.531e-05/0.9472, allocations: 97.12 kB / 0.5874 GB, free: 15.02 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9472, allocations: 0.9375 kB / 0.5874 GB, free: 15.02 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004543/0.9477, allocations: 114.6 kB / 0.5875 GB, free: 15 MB / 446.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 (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.0001736/0.9479, allocations: 126.6 kB / 0.5877 GB, free: 14.9 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.9489, allocations: 496.3 kB / 0.5881 GB, free: 14.77 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9489, allocations: 0.75 kB / 0.5881 GB, free: 14.77 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.9494, allocations: 224.8 kB / 0.5884 GB, free: 14.7 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.9497, allocations: 18.44 kB / 0.5884 GB, free: 14.69 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.9541, allocations: 3.322 MB / 0.5916 GB, free: 12.32 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.9546, allocations: 0.8008 MB / 0.5924 GB, free: 11.61 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0005136/0.9551, allocations: 159.5 kB / 0.5925 GB, free: 11.59 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.9552, allocations: 26.78 kB / 0.5926 GB, free: 11.59 MB / 446.3 MB Notification: Performance of SimCode: time 1.553e-06/0.9552, allocations: 0 / 0.5926 GB, free: 11.59 MB / 446.3 MB Notification: Performance of Templates: time 0.009055/0.9643, allocations: 2.877 MB / 0.5954 GB, free: 11.43 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/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