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.001089/0.001089, allocations: 105.6 kB / 17.29 MB, free: 6.215 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.0009486/0.0009486, allocations: 197.9 kB / 18.21 MB, free: 5.289 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.357/1.357, allocations: 222.9 MB / 241.9 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.183/1.183, allocations: 119.3 MB / 411.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.4924 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6087, allocations: 80.68 MB / 0.5712 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002434/0.6112, allocations: 1.408 MB / 0.5726 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.6115, allocations: 61.31 kB / 0.5726 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.6115, allocations: 5.312 kB / 0.5727 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.6116, allocations: 3.984 kB / 0.5727 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.6118, allocations: 15.83 kB / 0.5727 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.6119, allocations: 20.25 kB / 0.5727 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.6123, allocations: 349.8 kB / 0.573 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.6123, allocations: 4.375 kB / 0.573 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.6125, allocations: 131.8 kB / 0.5732 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.6127, allocations: 179.1 kB / 0.5733 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.6128, allocations: 17.47 kB / 0.5733 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.6129, allocations: 17.72 kB / 0.5734 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.613, allocations: 147 kB / 0.5735 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.6132, allocations: 147.7 kB / 0.5736 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.6134, allocations: 168.4 kB / 0.5738 GB, free: 42.08 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6134, allocations: 4 kB / 0.5738 GB, free: 42.08 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6134, allocations: 1.469 kB / 0.5738 GB, free: 42.08 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.6134, allocations: 0 / 0.5738 GB, free: 42.08 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.001544/0.6149, allocations: 0.7302 MB / 0.5745 GB, free: 41.51 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.615, allocations: 12.95 kB / 0.5745 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.859e-05/0.6151, allocations: 31.69 kB / 0.5746 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.6153, allocations: 246.2 kB / 0.5748 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.6154, allocations: 40.28 kB / 0.5748 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.6155, allocations: 55.8 kB / 0.5749 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.6161, allocations: 348.4 kB / 0.5752 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6161, allocations: 1.344 kB / 0.5752 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.6161, allocations: 14.34 kB / 0.5752 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6161, allocations: 5.625 kB / 0.5752 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.6165, allocations: 204.9 kB / 0.5754 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.6184, allocations: 1.002 MB / 0.5764 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/0.6222, allocations: 1.212 MB / 0.5776 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.6225, allocations: 190.5 kB / 0.5778 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.6226, allocations: 8.594 kB / 0.5778 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.6226, allocations: 37.03 kB / 0.5778 GB, free: 39.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.6226, allocations: 0 / 0.5778 GB, free: 39.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.00105/0.6237, allocations: 0.5744 MB / 0.5784 GB, free: 39.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.6237, allocations: 60.03 kB / 0.5784 GB, free: 39.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.6238, allocations: 128.3 kB / 0.5786 GB, free: 39.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.6239, allocations: 36.45 kB / 0.5786 GB, free: 39.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.624, allocations: 121.5 kB / 0.5787 GB, free: 39.01 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.6241, allocations: 195.6 kB / 0.5789 GB, free: 38.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.6243, allocations: 126.4 kB / 0.579 GB, free: 38.76 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.6244, allocations: 345.4 kB / 0.5793 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.6247, allocations: 216.6 kB / 0.5796 GB, free: 38.33 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.625, allocations: 233.1 kB / 0.5798 GB, free: 38.23 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.6258, allocations: 0.4933 MB / 0.5803 GB, free: 38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6258, allocations: 1.25 kB / 0.5803 GB, free: 38 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009113/0.6267, allocations: 0.6288 MB / 0.5809 GB, free: 37.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6267, allocations: 5.062 kB / 0.5809 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.6267, allocations: 4 kB / 0.5809 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6267, allocations: 6.438 kB / 0.5809 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/0.6276, allocations: 225.2 kB / 0.5811 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.6277, allocations: 3.719 kB / 0.5811 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.6279, allocations: 59.16 kB / 0.5812 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.628, allocations: 16.94 kB / 0.5812 GB, free: 37.6 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.0001458/0.6281, allocations: 158 kB / 0.5813 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.6282, allocations: 25.91 kB / 0.5814 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.6283, allocations: 51.8 kB / 0.5814 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6283, allocations: 4.594 kB / 0.5814 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6283, allocations: 0 / 0.5814 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6283, allocations: 0.9375 kB / 0.5814 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.6288, allocations: 391.1 kB / 0.5818 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6288, allocations: 9.094 kB / 0.5818 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.6301, allocations: 222.8 kB / 0.582 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6301, allocations: 1.312 kB / 0.582 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.6301, allocations: 28.5 kB / 0.582 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6302, allocations: 2.125 kB / 0.582 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6302, allocations: 384 / 0.582 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009972/0.6312, allocations: 0.6986 MB / 0.5827 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.6312, allocations: 99.05 kB / 0.5828 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.6313, allocations: 31.69 kB / 0.5828 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.6316, allocations: 29.78 kB / 0.5829 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.6317, allocations: 28.58 kB / 0.5829 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.6317, allocations: 7.812 kB / 0.5829 GB, free: 36.46 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.6317, allocations: 101.5 kB / 0.583 GB, free: 36.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6317, allocations: 0 / 0.583 GB, free: 36.38 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003875/0.6321, allocations: 115.6 kB / 0.5831 GB, free: 36.36 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.0001392/0.6323, allocations: 126.1 kB / 0.5832 GB, free: 36.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.6333, allocations: 0.6092 MB / 0.5838 GB, free: 36.03 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6333, allocations: 4 kB / 0.5838 GB, free: 36.03 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.6336, allocations: 220.3 kB / 0.584 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.6339, allocations: 29.59 kB / 0.5841 GB, free: 35.91 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.6369, allocations: 2.832 MB / 0.5868 GB, free: 33.3 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.6372, allocations: 0.8008 MB / 0.5876 GB, free: 32.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.6373, allocations: 27.44 kB / 0.5876 GB, free: 32.45 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.6373, allocations: 7.875 kB / 0.5877 GB, free: 32.44 MB / 462.3 MB Notification: Performance of Templates: time 0.005217/0.6426, allocations: 4.48 MB / 0.592 GB, free: 27.97 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches