Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001441/0.001441, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001476/0.001476, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.379/1.379, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.03/1.03, allocations: 119.3 MB / 411.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 0.493 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6339/0.6352, allocations: 80.68 MB / 0.5718 GB, free: 43.78 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002743/0.638, allocations: 1.349 MB / 0.5731 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.6383, allocations: 49.27 kB / 0.5731 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.6383, allocations: 4 kB / 0.5731 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.6384, allocations: 13.2 kB / 0.5731 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.773e-05/0.6386, allocations: 18.44 kB / 0.5732 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.6387, allocations: 16.75 kB / 0.5732 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.6391, allocations: 353.9 kB / 0.5735 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.114e-05/0.6392, allocations: 4.906 kB / 0.5735 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.6393, allocations: 128.7 kB / 0.5736 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.6396, allocations: 171.7 kB / 0.5738 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.6397, allocations: 21.97 kB / 0.5738 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.6397, allocations: 18.09 kB / 0.5738 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.6399, allocations: 142.6 kB / 0.574 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.6401, allocations: 144.5 kB / 0.5741 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.6403, allocations: 248.2 kB / 0.5743 GB, free: 41.97 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6403, allocations: 4 kB / 0.5743 GB, free: 41.97 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6404, allocations: 0 / 0.5743 GB, free: 41.97 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.6404, allocations: 0 / 0.5743 GB, free: 41.97 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.001555/0.6419, allocations: 0.7271 MB / 0.5751 GB, free: 41.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.642, allocations: 14.27 kB / 0.5751 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.6421, allocations: 35.09 kB / 0.5751 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.6424, allocations: 246.1 kB / 0.5753 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.6424, allocations: 35.92 kB / 0.5754 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6425, allocations: 60.61 kB / 0.5754 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.6431, allocations: 344.6 kB / 0.5758 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.6431, allocations: 192 / 0.5758 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.6432, allocations: 14.78 kB / 0.5758 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.6432, allocations: 9.438 kB / 0.5758 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.6436, allocations: 204.4 kB / 0.576 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.6456, allocations: 1.001 MB / 0.577 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.6494, allocations: 1.217 MB / 0.5781 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.6498, allocations: 188.9 kB / 0.5783 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.6498, allocations: 3.688 kB / 0.5783 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.6499, allocations: 45.92 kB / 0.5784 GB, free: 39.51 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.6499, allocations: 0 / 0.5784 GB, free: 39.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001079/0.651, allocations: 0.5671 MB / 0.5789 GB, free: 39.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.651, allocations: 67.02 kB / 0.579 GB, free: 39.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.6511, allocations: 128.7 kB / 0.5791 GB, free: 39.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.6512, allocations: 40.23 kB / 0.5792 GB, free: 39.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.6512, allocations: 112.8 kB / 0.5793 GB, free: 38.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6513, allocations: 195.9 kB / 0.5794 GB, free: 38.73 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.6515, allocations: 127.2 kB / 0.5796 GB, free: 38.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.6516, allocations: 339.6 kB / 0.5799 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.652, allocations: 222.2 kB / 0.5801 GB, free: 38.22 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.6523, allocations: 237 kB / 0.5803 GB, free: 38.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.6531, allocations: 0.4983 MB / 0.5808 GB, free: 37.88 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6531, allocations: 0 / 0.5808 GB, free: 37.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009518/0.654, allocations: 0.6243 MB / 0.5814 GB, free: 37.59 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.6541, allocations: 8.562 kB / 0.5814 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6541, allocations: 0 / 0.5814 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.6541, allocations: 2.625 kB / 0.5814 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/0.6551, allocations: 221.5 kB / 0.5816 GB, free: 37.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.6551, allocations: 6.734 kB / 0.5817 GB, free: 37.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.6554, allocations: 59.2 kB / 0.5817 GB, free: 37.5 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.6554, allocations: 21.78 kB / 0.5817 GB, free: 37.49 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.0001778/0.6556, allocations: 161 kB / 0.5819 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.6557, allocations: 22.81 kB / 0.5819 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.6558, allocations: 55.81 kB / 0.582 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.6558, allocations: 3.688 kB / 0.582 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.6559, allocations: 0.9375 kB / 0.582 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6559, allocations: 3.984 kB / 0.582 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.6563, allocations: 383.7 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6564, allocations: 5.469 kB / 0.5823 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.6581, allocations: 229.8 kB / 0.5826 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.6581, allocations: 2.406 kB / 0.5826 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.6582, allocations: 24 kB / 0.5826 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.6583, allocations: 2.062 kB / 0.5826 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6583, allocations: 0 / 0.5826 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.6604, allocations: 0.7112 MB / 0.5833 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.6606, allocations: 98.55 kB / 0.5834 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.6608, allocations: 28.34 kB / 0.5834 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.6612, allocations: 28.25 kB / 0.5834 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.6615, allocations: 24.41 kB / 0.5835 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.6616, allocations: 16.55 kB / 0.5835 GB, free: 36.34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001298/0.6618, allocations: 92.7 kB / 0.5836 GB, free: 36.26 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6618, allocations: 0 / 0.5836 GB, free: 36.26 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0009373/0.6627, allocations: 119.1 kB / 0.5837 GB, free: 36.23 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.0004051/0.6632, allocations: 127.3 kB / 0.5838 GB, free: 36.13 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.6648, allocations: 0.61 MB / 0.5844 GB, free: 35.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6648, allocations: 0 / 0.5844 GB, free: 35.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.6651, allocations: 224.6 kB / 0.5846 GB, free: 35.82 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.6655, allocations: 24.97 kB / 0.5846 GB, free: 35.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.6687, allocations: 2.741 MB / 0.5873 GB, free: 33.17 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.669, allocations: 0.7969 MB / 0.5881 GB, free: 32.35 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6692, allocations: 31.44 kB / 0.5881 GB, free: 32.32 MB / 462.3 MB Notification: Performance of SimCode: time 3.61e-07/0.6692, allocations: 0 / 0.5881 GB, free: 32.32 MB / 462.3 MB Notification: Performance of Templates: time 0.007873/0.677, allocations: 4.471 MB / 0.5925 GB, free: 27.86 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches