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.00145/0.00145, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001462/0.001463, allocations: 180.2 kB / 17.19 MB, free: 6.34 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.732/1.732, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.286/1.286, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 11.98 kB / 0.4955 GB, free: 9.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 82.85 MB / 0.5764 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002424/0.2422, allocations: 1.037 MB / 0.5774 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003857/0.2427, allocations: 60.09 kB / 0.5774 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.2427, allocations: 0 / 0.5774 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.243, allocations: 3.984 kB / 0.5774 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.243, allocations: 11.97 kB / 0.5774 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2433, allocations: 23.97 kB / 0.5775 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.2438, allocations: 235.6 kB / 0.5777 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2439, allocations: 7.938 kB / 0.5777 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.2441, allocations: 123.8 kB / 0.5778 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.2444, allocations: 163.7 kB / 0.578 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.2445, allocations: 20 kB / 0.578 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.2446, allocations: 20 kB / 0.578 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.2448, allocations: 131.7 kB / 0.5781 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.2449, allocations: 73.64 kB / 0.5782 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.2452, allocations: 171.5 kB / 0.5784 GB, free: 4.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2452, allocations: 0 / 0.5784 GB, free: 4.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.182e-06/0.2452, allocations: 0 / 0.5784 GB, free: 4.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2452, allocations: 3.938 kB / 0.5784 GB, free: 4.715 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.001803/0.247, allocations: 0.679 MB / 0.579 GB, free: 3.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.2471, allocations: 12.03 kB / 0.579 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.2472, allocations: 31.67 kB / 0.5791 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.2476, allocations: 246.7 kB / 0.5793 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.2477, allocations: 28.56 kB / 0.5793 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2478, allocations: 63.8 kB / 0.5794 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.2485, allocations: 348.7 kB / 0.5797 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2485, allocations: 0 / 0.5797 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.2486, allocations: 8 kB / 0.5797 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2486, allocations: 8 kB / 0.5798 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.249, allocations: 206 kB / 0.5799 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.2515, allocations: 1.018 MB / 0.5809 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.2555, allocations: 1.217 MB / 0.5821 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.2556, allocations: 4 kB / 0.5821 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.2556, allocations: 38.56 kB / 0.5822 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.006e-06/0.2557, allocations: 0 / 0.5822 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.001156/0.2568, allocations: 0.5707 MB / 0.5827 GB, free: 84 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2569, allocations: 55.41 kB / 0.5828 GB, free: 16 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7762/1.033, allocations: 132.8 kB / 0.5829 GB, free: 16.66 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/1.033, allocations: 44.64 kB / 0.5829 GB, free: 16.63 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/1.034, allocations: 120 kB / 0.5831 GB, free: 16.55 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/1.034, allocations: 190.1 kB / 0.5832 GB, free: 16.45 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/1.034, allocations: 12.84 kB / 0.5833 GB, free: 16.45 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001302/1.034, allocations: 341.2 kB / 0.5836 GB, free: 16.13 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/1.035, allocations: 220.7 kB / 0.5838 GB, free: 16.13 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/1.035, allocations: 232.2 kB / 0.584 GB, free: 16.12 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/1.036, allocations: 265.7 kB / 0.5843 GB, free: 16.12 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.036, allocations: 0 / 0.5843 GB, free: 16.12 MB / 446.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001281/1.037, allocations: 0.6148 MB / 0.5849 GB, free: 16.06 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.037, allocations: 8.078 kB / 0.5849 GB, free: 16.06 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.037, allocations: 1.078 kB / 0.5849 GB, free: 16.06 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.037, allocations: 6.688 kB / 0.5849 GB, free: 16.06 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.038, allocations: 224.9 kB / 0.5851 GB, free: 16.06 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.038, allocations: 6.547 kB / 0.5851 GB, free: 16.05 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/1.038, allocations: 59.28 kB / 0.5852 GB, free: 16.03 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/1.039, allocations: 19.41 kB / 0.5852 GB, free: 16.03 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.0002121/1.039, allocations: 159.4 kB / 0.5853 GB, free: 15.92 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/1.039, allocations: 20.44 kB / 0.5854 GB, free: 15.91 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/1.039, allocations: 52.08 kB / 0.5854 GB, free: 15.91 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.039, allocations: 6.688 kB / 0.5854 GB, free: 15.91 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.039, allocations: 0.5156 kB / 0.5854 GB, free: 15.91 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.039, allocations: 7.234 kB / 0.5854 GB, free: 15.91 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/1.04, allocations: 386.7 kB / 0.5858 GB, free: 15.7 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.04, allocations: 1.406 kB / 0.5858 GB, free: 15.7 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.041, allocations: 224 kB / 0.586 GB, free: 15.7 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.041, allocations: 5.438 kB / 0.586 GB, free: 15.7 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/1.041, allocations: 26.27 kB / 0.586 GB, free: 15.7 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/1.041, allocations: 1.906 kB / 0.586 GB, free: 15.7 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.041, allocations: 4 kB / 0.586 GB, free: 15.7 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/1.043, allocations: 0.7069 MB / 0.5867 GB, free: 15.52 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/1.043, allocations: 97.41 kB / 0.5868 GB, free: 15.42 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/1.043, allocations: 22.75 kB / 0.5868 GB, free: 15.42 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/1.043, allocations: 28.11 kB / 0.5869 GB, free: 15.41 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.043, allocations: 25.09 kB / 0.5869 GB, free: 15.41 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/1.043, allocations: 16.64 kB / 0.5869 GB, free: 15.41 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.626e-05/1.043, allocations: 96.58 kB / 0.587 GB, free: 15.34 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 0.587 GB, free: 15.34 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.00054/1.044, allocations: 119.3 kB / 0.5871 GB, free: 15.33 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.0002318/1.044, allocations: 127 kB / 0.5872 GB, free: 15.23 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001154/1.045, allocations: 0.4884 MB / 0.5877 GB, free: 15.12 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.045, allocations: 0 / 0.5877 GB, free: 15.12 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/1.046, allocations: 229.2 kB / 0.5879 GB, free: 15.04 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/1.046, allocations: 16.17 kB / 0.5879 GB, free: 15.03 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/1.051, allocations: 3.314 MB / 0.5912 GB, free: 12.67 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/1.051, allocations: 0.8085 MB / 0.592 GB, free: 11.96 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0005904/1.052, allocations: 155.2 kB / 0.5921 GB, free: 11.95 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/1.052, allocations: 31.09 kB / 0.5921 GB, free: 11.93 MB / 446.3 MB Notification: Performance of SimCode: time 1.754e-06/1.052, allocations: 0 / 0.5921 GB, free: 11.93 MB / 446.3 MB Notification: Performance of Templates: time 0.009045/1.061, allocations: 2.868 MB / 0.5949 GB, free: 11.77 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