Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.2.|cur.3.|cur.40.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.40..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.2.|vol.3.|vol.40.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001263/0.001263, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.498/1.498, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.147/1.147, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 59.91 kB / 0.4923 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.653/0.6547, allocations: 80.69 MB / 0.5711 GB, free: 43.81 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002326/0.6571, allocations: 1.332 MB / 0.5724 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.6573, allocations: 65.95 kB / 0.5725 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.6574, allocations: 0 / 0.5725 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.6575, allocations: 7.922 kB / 0.5725 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.6576, allocations: 19.66 kB / 0.5725 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.6577, allocations: 20.38 kB / 0.5725 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.6583, allocations: 0.6569 MB / 0.5732 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.17e-05/0.6584, allocations: 6.406 kB / 0.5732 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.6586, allocations: 240.2 kB / 0.5734 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.659, allocations: 312.9 kB / 0.5737 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.6591, allocations: 35.59 kB / 0.5737 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.6592, allocations: 35.72 kB / 0.5738 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.6595, allocations: 276.1 kB / 0.574 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.6598, allocations: 285.4 kB / 0.5743 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.6602, allocations: 478.5 kB / 0.5748 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6603, allocations: 5.188 kB / 0.5748 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6603, allocations: 0 / 0.5748 GB, free: 41.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.6603, allocations: 0 / 0.5748 GB, free: 41.41 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002667/0.663, allocations: 1.129 MB / 0.5759 GB, free: 40.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.663, allocations: 18.58 kB / 0.5759 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.6632, allocations: 66.53 kB / 0.5759 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.6636, allocations: 325 kB / 0.5762 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.6637, allocations: 54.25 kB / 0.5763 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.6638, allocations: 119.2 kB / 0.5764 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009721/0.6648, allocations: 0.6497 MB / 0.577 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.6649, allocations: 192 / 0.577 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.6649, allocations: 20.25 kB / 0.5771 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.6649, allocations: 12 kB / 0.5771 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/0.6656, allocations: 397.9 kB / 0.5775 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.6694, allocations: 1.797 MB / 0.5792 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007562/0.677, allocations: 2.514 MB / 0.5817 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.6775, allocations: 374.9 kB / 0.582 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.6776, allocations: 8.719 kB / 0.582 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.6776, allocations: 46.56 kB / 0.5821 GB, free: 37.4 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 2.345e-06/0.6776, allocations: 3.938 kB / 0.5821 GB, free: 37.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.001909/0.6795, allocations: 1.098 MB / 0.5832 GB, free: 36.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.6796, allocations: 63.41 kB / 0.5832 GB, free: 36.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.6797, allocations: 144.2 kB / 0.5834 GB, free: 36.71 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.6797, allocations: 50.77 kB / 0.5834 GB, free: 36.66 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.6798, allocations: 152.6 kB / 0.5835 GB, free: 36.52 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.68, allocations: 381.2 kB / 0.5839 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.6803, allocations: 241.1 kB / 0.5841 GB, free: 35.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.6804, allocations: 362.8 kB / 0.5845 GB, free: 35.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.6809, allocations: 450.3 kB / 0.5849 GB, free: 35.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.6815, allocations: 467.5 kB / 0.5854 GB, free: 34.7 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6826, allocations: 0.9766 MB / 0.5863 GB, free: 33.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6826, allocations: 0 / 0.5863 GB, free: 33.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001378/0.684, allocations: 1.207 MB / 0.5875 GB, free: 32.5 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.684, allocations: 8 kB / 0.5875 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.684, allocations: 0 / 0.5875 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.684, allocations: 4 kB / 0.5875 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.6855, allocations: 447.5 kB / 0.5879 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.6856, allocations: 4 kB / 0.5879 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.6861, allocations: 122.9 kB / 0.5881 GB, free: 31.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.6861, allocations: 40 kB / 0.5881 GB, free: 31.89 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 (162): * Single equations (assignments): 162 * 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.0001959/0.6863, allocations: 205.5 kB / 0.5883 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.6864, allocations: 43.66 kB / 0.5883 GB, free: 31.63 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.6866, allocations: 91.39 kB / 0.5884 GB, free: 31.54 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6866, allocations: 12 kB / 0.5884 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.6867, allocations: 0 / 0.5884 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6867, allocations: 3.984 kB / 0.5884 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.6873, allocations: 0.6067 MB / 0.589 GB, free: 30.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6873, allocations: 0 / 0.589 GB, free: 30.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.6895, allocations: 455.5 kB / 0.5895 GB, free: 30.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6895, allocations: 7.938 kB / 0.5895 GB, free: 30.42 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.6896, allocations: 47.94 kB / 0.5895 GB, free: 30.37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6896, allocations: 4.375 kB / 0.5895 GB, free: 30.37 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6896, allocations: 4 kB / 0.5895 GB, free: 30.36 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.691, allocations: 1.277 MB / 0.5908 GB, free: 29.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.6911, allocations: 112.6 kB / 0.5909 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6912, allocations: 51.89 kB / 0.5909 GB, free: 28.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.6917, allocations: 51.94 kB / 0.591 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6918, allocations: 52.58 kB / 0.591 GB, free: 28.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.6919, allocations: 19.98 kB / 0.591 GB, free: 28.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.6919, allocations: 91.28 kB / 0.5911 GB, free: 28.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6919, allocations: 3.938 kB / 0.5911 GB, free: 28.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004794/0.6924, allocations: 231.8 kB / 0.5914 GB, free: 28.45 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],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],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],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 (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 Backend phase and start with SimCode phase: time 0.0002096/0.6926, allocations: 171.5 kB / 0.5915 GB, free: 28.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.6947, allocations: 1.399 MB / 0.5929 GB, free: 26.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6948, allocations: 7.938 kB / 0.5929 GB, free: 26.87 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.6953, allocations: 447.5 kB / 0.5933 GB, free: 26.43 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.6958, allocations: 31.98 kB / 0.5933 GB, free: 26.4 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008149/0.704, allocations: 5.303 MB / 0.5985 GB, free: 21.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.7045, allocations: 0.9153 MB / 0.5994 GB, free: 20.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001047/0.7055, allocations: 316.5 kB / 0.5997 GB, free: 19.81 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.7058, allocations: 43.44 kB / 0.5998 GB, free: 19.77 MB / 462.3 MB Notification: Performance of SimCode: time 1.363e-06/0.7058, allocations: 0 / 0.5998 GB, free: 19.77 MB / 462.3 MB Notification: Performance of Templates: time 0.01304/0.7188, allocations: 5.765 MB / 0.6054 GB, free: 14.04 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches