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.001525/0.001525, allocations: 116.7 kB / 16.63 MB, free: 6.812 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.001713/0.001713, allocations: 194 kB / 17.55 MB, free: 5.93 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.441/1.441, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.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: 119.3 MB / 410.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 55.91 kB / 0.4918 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6662, allocations: 80.68 MB / 0.5706 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002725/0.669, allocations: 1.408 MB / 0.5719 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.6693, allocations: 61.25 kB / 0.572 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.6693, allocations: 1.375 kB / 0.572 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.6694, allocations: 3.984 kB / 0.572 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.6696, allocations: 19.98 kB / 0.572 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.6697, allocations: 20.09 kB / 0.572 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.6703, allocations: 0.6524 MB / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.6704, allocations: 8.734 kB / 0.5727 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.6707, allocations: 235.8 kB / 0.5729 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.6712, allocations: 342.4 kB / 0.5732 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.252e-05/0.6713, allocations: 35.81 kB / 0.5733 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.6714, allocations: 35.84 kB / 0.5733 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.6716, allocations: 275.1 kB / 0.5736 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.6719, allocations: 284.5 kB / 0.5738 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.6725, allocations: 483.5 kB / 0.5743 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.6725, allocations: 5.25 kB / 0.5743 GB, free: 41.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6725, allocations: 0 / 0.5743 GB, free: 41.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.6725, allocations: 0 / 0.5743 GB, free: 41.4 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.002938/0.6755, allocations: 1.126 MB / 0.5754 GB, free: 40.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.6755, allocations: 16.83 kB / 0.5754 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.6757, allocations: 60.62 kB / 0.5755 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.6762, allocations: 327.4 kB / 0.5758 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.6763, allocations: 55.62 kB / 0.5759 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.6764, allocations: 119.2 kB / 0.576 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.6777, allocations: 0.6454 MB / 0.5766 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.6777, allocations: 192 / 0.5766 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.6778, allocations: 24.56 kB / 0.5766 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.6778, allocations: 11.06 kB / 0.5766 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.6786, allocations: 403.1 kB / 0.577 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004191/0.6828, allocations: 1.792 MB / 0.5788 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008551/0.6914, allocations: 2.515 MB / 0.5812 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.6922, allocations: 367.5 kB / 0.5816 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.6923, allocations: 9.469 kB / 0.5816 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6924, allocations: 41.66 kB / 0.5816 GB, free: 37.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 4.128e-06/0.6924, allocations: 3.938 kB / 0.5816 GB, free: 37.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.002675/0.6951, allocations: 1.109 MB / 0.5827 GB, free: 36.9 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.6952, allocations: 64.59 kB / 0.5828 GB, free: 36.83 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.6953, allocations: 139.2 kB / 0.5829 GB, free: 36.71 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.6955, allocations: 51.92 kB / 0.5829 GB, free: 36.66 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.6956, allocations: 147.7 kB / 0.5831 GB, free: 36.52 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.6959, allocations: 389.9 kB / 0.5835 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.6964, allocations: 233.3 kB / 0.5837 GB, free: 36.05 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6965, allocations: 370.8 kB / 0.584 GB, free: 35.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.6971, allocations: 438.3 kB / 0.5845 GB, free: 35.25 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.6978, allocations: 475.5 kB / 0.5849 GB, free: 34.79 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.6991, allocations: 0.9766 MB / 0.5859 GB, free: 33.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.6991, allocations: 0 / 0.5859 GB, free: 33.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001695/0.7008, allocations: 1.211 MB / 0.587 GB, free: 32.59 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.7009, allocations: 8 kB / 0.5871 GB, free: 32.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.7009, allocations: 0 / 0.5871 GB, free: 32.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.7009, allocations: 4 kB / 0.5871 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.7026, allocations: 451.5 kB / 0.5875 GB, free: 32.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/0.7026, allocations: 4 kB / 0.5875 GB, free: 32.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.7033, allocations: 126.9 kB / 0.5876 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.7034, allocations: 36 kB / 0.5876 GB, free: 31.97 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.000368/0.7038, allocations: 205.5 kB / 0.5878 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.7039, allocations: 39.66 kB / 0.5879 GB, free: 31.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.7042, allocations: 99.36 kB / 0.588 GB, free: 31.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7042, allocations: 8 kB / 0.588 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.7042, allocations: 0 / 0.588 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7043, allocations: 7.984 kB / 0.588 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008754/0.7051, allocations: 0.6067 MB / 0.5886 GB, free: 30.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.7052, allocations: 0 / 0.5886 GB, free: 30.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/0.7075, allocations: 459.5 kB / 0.589 GB, free: 30.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/0.7076, allocations: 0 / 0.589 GB, free: 30.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.7077, allocations: 47.95 kB / 0.5891 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.7077, allocations: 384 / 0.5891 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7077, allocations: 4 kB / 0.5891 GB, free: 30.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.7096, allocations: 1.273 MB / 0.5903 GB, free: 29.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.7097, allocations: 120.6 kB / 0.5904 GB, free: 29.03 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.7098, allocations: 43.91 kB / 0.5905 GB, free: 28.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.7104, allocations: 51.94 kB / 0.5905 GB, free: 28.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.7105, allocations: 48.58 kB / 0.5906 GB, free: 28.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/0.7106, allocations: 27.98 kB / 0.5906 GB, free: 28.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.7107, allocations: 95.27 kB / 0.5907 GB, free: 28.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.482e-06/0.7107, allocations: 0 / 0.5907 GB, free: 28.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006857/0.7114, allocations: 235.7 kB / 0.5909 GB, free: 28.54 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.0002382/0.7116, allocations: 163 kB / 0.5911 GB, free: 28.37 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.7138, allocations: 1.403 MB / 0.5924 GB, free: 26.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7138, allocations: 4 kB / 0.5924 GB, free: 26.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.7144, allocations: 443.5 kB / 0.5929 GB, free: 26.53 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.7149, allocations: 32 kB / 0.5929 GB, free: 26.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.7214, allocations: 5.502 MB / 0.5983 GB, free: 20.96 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.7219, allocations: 0.9114 MB / 0.5992 GB, free: 20.02 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008262/0.7228, allocations: 312.5 kB / 0.5995 GB, free: 19.71 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.723, allocations: 43.44 kB / 0.5995 GB, free: 19.67 MB / 462.3 MB Notification: Performance of SimCode: time 1.553e-06/0.723, allocations: 0 / 0.5995 GB, free: 19.67 MB / 462.3 MB Notification: Performance of Templates: time 0.01071/0.7337, allocations: 5.753 MB / 0.6051 GB, free: 13.95 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches