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.0009451/0.0009451, allocations: 86.06 kB / 16.31 MB, free: 6.449 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.001104/0.001104, allocations: 183.3 kB / 17.21 MB, free: 6.316 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.278/1.278, allocations: 223.3 MB / 241.2 MB, free: 5.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.666/0.666, allocations: 120.5 MB / 412.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 11.98 kB / 0.4956 GB, free: 9.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 82.85 MB / 0.5765 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.00114/0.1266, allocations: 1.049 MB / 0.5775 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.1268, allocations: 56.09 kB / 0.5775 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.1268, allocations: 0 / 0.5775 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.706e-05/0.1269, allocations: 0 / 0.5775 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.127, allocations: 23.89 kB / 0.5776 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.1271, allocations: 19.92 kB / 0.5776 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.1274, allocations: 315.4 kB / 0.5779 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.1275, allocations: 15.88 kB / 0.5779 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1276, allocations: 131.8 kB / 0.578 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.1278, allocations: 179.7 kB / 0.5782 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.1279, allocations: 23.94 kB / 0.5782 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.259e-05/0.1279, allocations: 16 kB / 0.5782 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1281, allocations: 143.7 kB / 0.5784 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.1281, allocations: 73.52 kB / 0.5784 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1283, allocations: 171.6 kB / 0.5786 GB, free: 4.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1283, allocations: 0 / 0.5786 GB, free: 4.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1283, allocations: 0 / 0.5786 GB, free: 4.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1283, allocations: 4 kB / 0.5786 GB, free: 4.547 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.001407/0.1297, allocations: 0.679 MB / 0.5793 GB, free: 3.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.1298, allocations: 12.03 kB / 0.5793 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1298, allocations: 31.67 kB / 0.5793 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1301, allocations: 250.7 kB / 0.5796 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.1302, allocations: 32.56 kB / 0.5796 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.1302, allocations: 59.8 kB / 0.5796 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.1308, allocations: 340.7 kB / 0.58 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1308, allocations: 0 / 0.58 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.1308, allocations: 12 kB / 0.58 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1309, allocations: 4 kB / 0.58 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.1312, allocations: 222 kB / 0.5802 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.1331, allocations: 1.01 MB / 0.5812 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.1368, allocations: 1.217 MB / 0.5824 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.1371, allocations: 184.8 kB / 0.5826 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.1371, allocations: 11.94 kB / 0.5826 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1372, allocations: 43.23 kB / 0.5826 GB, free: 300 kB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.1372, allocations: 0 / 0.5826 GB, free: 300 kB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.3993/0.5365, allocations: 0.5637 MB / 0.5832 GB, free: 16.56 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5366, allocations: 58.39 kB / 0.5832 GB, free: 16.5 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5367, allocations: 130.1 kB / 0.5833 GB, free: 16.4 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.5367, allocations: 38.55 kB / 0.5834 GB, free: 16.37 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.5368, allocations: 121.1 kB / 0.5835 GB, free: 16.27 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.5369, allocations: 188.6 kB / 0.5837 GB, free: 16.17 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.537, allocations: 12.75 kB / 0.5837 GB, free: 16.17 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.537, allocations: 345 kB / 0.584 GB, free: 15.86 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.5374, allocations: 223.6 kB / 0.5842 GB, free: 15.85 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.5378, allocations: 231.9 kB / 0.5844 GB, free: 15.85 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.5382, allocations: 262.1 kB / 0.5847 GB, free: 15.84 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5382, allocations: 0 / 0.5847 GB, free: 15.84 MB / 446.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009085/0.5391, allocations: 0.6175 MB / 0.5853 GB, free: 15.78 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.5391, allocations: 7.484 kB / 0.5853 GB, free: 15.78 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.5391, allocations: 5.672 kB / 0.5853 GB, free: 15.78 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5392, allocations: 4.406 kB / 0.5853 GB, free: 15.78 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.5401, allocations: 224.6 kB / 0.5855 GB, free: 15.78 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5401, allocations: 5.094 kB / 0.5855 GB, free: 15.78 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.5403, allocations: 55.72 kB / 0.5856 GB, free: 15.75 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.5404, allocations: 21.72 kB / 0.5856 GB, free: 15.75 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.0001278/0.5405, allocations: 158.4 kB / 0.5858 GB, free: 15.64 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.5406, allocations: 18.98 kB / 0.5858 GB, free: 15.63 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.5407, allocations: 50.73 kB / 0.5858 GB, free: 15.63 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5407, allocations: 13.39 kB / 0.5858 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5408, allocations: 3.828 kB / 0.5858 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5408, allocations: 6.672 kB / 0.5858 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.5412, allocations: 394.5 kB / 0.5862 GB, free: 15.42 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5412, allocations: 0.9375 kB / 0.5862 GB, free: 15.42 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.5425, allocations: 226 kB / 0.5864 GB, free: 15.41 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.5425, allocations: 2.359 kB / 0.5864 GB, free: 15.41 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.5426, allocations: 26.8 kB / 0.5865 GB, free: 15.41 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5426, allocations: 2.094 kB / 0.5865 GB, free: 15.41 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5426, allocations: 3.953 kB / 0.5865 GB, free: 15.41 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.5436, allocations: 0.7023 MB / 0.5872 GB, free: 15.25 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.5436, allocations: 99.31 kB / 0.5873 GB, free: 15.14 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.5437, allocations: 26.22 kB / 0.5873 GB, free: 15.14 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.5439, allocations: 25.44 kB / 0.5873 GB, free: 15.13 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.544, allocations: 31.59 kB / 0.5873 GB, free: 15.12 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.5441, allocations: 13.75 kB / 0.5873 GB, free: 15.12 MB / 446.3 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.5441, allocations: 99.59 kB / 0.5874 GB, free: 15.04 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5441, allocations: 0.8125 kB / 0.5874 GB, free: 15.04 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003663/0.5445, allocations: 114.9 kB / 0.5875 GB, free: 15.02 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.0001154/0.5446, allocations: 126.7 kB / 0.5877 GB, free: 14.91 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0007784/0.5454, allocations: 496.3 kB / 0.5881 GB, free: 14.79 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5454, allocations: 0.75 kB / 0.5881 GB, free: 14.79 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.5457, allocations: 225 kB / 0.5884 GB, free: 14.71 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.546, allocations: 13.67 kB / 0.5884 GB, free: 14.71 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.5493, allocations: 3.327 MB / 0.5916 GB, free: 12.34 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.5496, allocations: 0.8004 MB / 0.5924 GB, free: 11.63 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.000399/0.55, allocations: 156.4 kB / 0.5926 GB, free: 11.61 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.5501, allocations: 27.66 kB / 0.5926 GB, free: 11.61 MB / 446.3 MB Notification: Performance of SimCode: time 2.4e-07/0.5501, allocations: 0 / 0.5926 GB, free: 11.61 MB / 446.3 MB Notification: Performance of Templates: time 0.006266/0.5564, allocations: 2.882 MB / 0.5954 GB, free: 11.44 MB / 446.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/jenkins/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