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.00163/0.001631, 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.00188/0.00188, 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.576/1.576, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.277/1.277, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 56.09 kB / 0.4923 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.634/0.6354, allocations: 80.69 MB / 0.5711 GB, free: 43.8 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002673/0.6382, allocations: 1.332 MB / 0.5724 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002335/0.6384, allocations: 65.61 kB / 0.5725 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.6385, allocations: 1.344 kB / 0.5725 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.6386, allocations: 3.938 kB / 0.5725 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/0.6387, allocations: 23.81 kB / 0.5725 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.6388, allocations: 16.38 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.6391, allocations: 357.7 kB / 0.5729 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.6392, allocations: 7.828 kB / 0.5729 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.6393, allocations: 124.7 kB / 0.573 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.6396, allocations: 167.6 kB / 0.5731 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.6396, allocations: 19.19 kB / 0.5732 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.6397, allocations: 22 kB / 0.5732 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.6398, allocations: 142.1 kB / 0.5733 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.64, allocations: 143.8 kB / 0.5735 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.6403, allocations: 249.3 kB / 0.5737 GB, free: 41.99 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6403, allocations: 0 / 0.5737 GB, free: 41.99 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6403, allocations: 4 kB / 0.5737 GB, free: 41.99 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.6403, allocations: 0 / 0.5737 GB, free: 41.99 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.001458/0.6418, allocations: 0.7278 MB / 0.5744 GB, free: 41.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6418, allocations: 16.47 kB / 0.5744 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.6419, allocations: 31.22 kB / 0.5745 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.6422, allocations: 250.6 kB / 0.5747 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.6422, allocations: 27.5 kB / 0.5747 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-05/0.6423, allocations: 60.03 kB / 0.5748 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.6429, allocations: 349.7 kB / 0.5751 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6429, allocations: 4.172 kB / 0.5751 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.6429, allocations: 14.41 kB / 0.5751 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.643, allocations: 5.688 kB / 0.5751 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.6433, allocations: 200.9 kB / 0.5753 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.6452, allocations: 1.005 MB / 0.5763 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.6489, allocations: 1.213 MB / 0.5775 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.6492, allocations: 192.2 kB / 0.5777 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.6493, allocations: 4.594 kB / 0.5777 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.6493, allocations: 45.03 kB / 0.5777 GB, free: 39.53 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.694e-06/0.6493, allocations: 0.9375 kB / 0.5777 GB, free: 39.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.00102/0.6503, allocations: 0.5704 MB / 0.5783 GB, free: 39.26 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.6504, allocations: 56 kB / 0.5783 GB, free: 39.2 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.6505, allocations: 132 kB / 0.5785 GB, free: 39.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.6505, allocations: 36.23 kB / 0.5785 GB, free: 39.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.6506, allocations: 116.8 kB / 0.5786 GB, free: 38.92 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6507, allocations: 191.9 kB / 0.5788 GB, free: 38.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.6508, allocations: 131.1 kB / 0.5789 GB, free: 38.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.6509, allocations: 343.6 kB / 0.5792 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.6512, allocations: 223.1 kB / 0.5795 GB, free: 38.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.6516, allocations: 227.8 kB / 0.5797 GB, free: 38.14 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/0.6523, allocations: 0.5016 MB / 0.5802 GB, free: 37.9 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6523, allocations: 0 / 0.5802 GB, free: 37.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009069/0.6532, allocations: 0.625 MB / 0.5808 GB, free: 37.61 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6532, allocations: 6.312 kB / 0.5808 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6532, allocations: 0 / 0.5808 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.6533, allocations: 6.531 kB / 0.5808 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.6542, allocations: 221.3 kB / 0.581 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6542, allocations: 6.719 kB / 0.581 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.6545, allocations: 55.19 kB / 0.5811 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.6545, allocations: 25.81 kB / 0.5811 GB, free: 37.51 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.0001342/0.6546, allocations: 157.1 kB / 0.5812 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.6547, allocations: 22.84 kB / 0.5812 GB, free: 37.35 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.6548, allocations: 51.8 kB / 0.5813 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6548, allocations: 3.969 kB / 0.5813 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6549, allocations: 4 kB / 0.5813 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6549, allocations: 1.594 kB / 0.5813 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.6553, allocations: 391.3 kB / 0.5817 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6553, allocations: 3.938 kB / 0.5817 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.6565, allocations: 226.9 kB / 0.5819 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6565, allocations: 1.156 kB / 0.5819 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.6565, allocations: 28.72 kB / 0.5819 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.6565, allocations: 2.438 kB / 0.5819 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6566, allocations: 0 / 0.5819 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/0.6575, allocations: 0.71 MB / 0.5826 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.6575, allocations: 98.98 kB / 0.5827 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.6576, allocations: 20.92 kB / 0.5827 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.6579, allocations: 25.5 kB / 0.5828 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.658, allocations: 27.48 kB / 0.5828 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.658, allocations: 12.75 kB / 0.5828 GB, free: 36.37 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.645e-05/0.6581, allocations: 100.5 kB / 0.5829 GB, free: 36.28 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6581, allocations: 0 / 0.5829 GB, free: 36.28 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003765/0.6585, allocations: 119.7 kB / 0.583 GB, free: 36.26 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.0001325/0.6586, allocations: 126.9 kB / 0.5831 GB, free: 36.15 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.6595, allocations: 0.6138 MB / 0.5837 GB, free: 35.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6596, allocations: 0 / 0.5837 GB, free: 35.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.6599, allocations: 220.3 kB / 0.5839 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.6602, allocations: 21.53 kB / 0.584 GB, free: 35.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.6631, allocations: 2.713 MB / 0.5866 GB, free: 33.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.6633, allocations: 0.7927 MB / 0.5874 GB, free: 32.44 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.6637, allocations: 162.8 kB / 0.5875 GB, free: 32.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6638, allocations: 23.44 kB / 0.5876 GB, free: 32.26 MB / 462.3 MB Notification: Performance of SimCode: time 1.122e-06/0.6638, allocations: 4 kB / 0.5876 GB, free: 32.25 MB / 462.3 MB Notification: Performance of Templates: time 0.005511/0.6693, allocations: 3.078 MB / 0.5906 GB, free: 29.21 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/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