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.001559/0.001559, allocations: 112.4 kB / 16.92 MB, free: 6.145 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.001837/0.001837, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.563/1.563, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.201/1.201, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.4923 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6238/0.6251, allocations: 80.68 MB / 0.5711 GB, free: 43.75 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002605/0.6278, allocations: 1.335 MB / 0.5724 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.628, allocations: 57.39 kB / 0.5725 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.6281, allocations: 0 / 0.5725 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.6282, allocations: 9.281 kB / 0.5725 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.6283, allocations: 27.45 kB / 0.5725 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.6285, allocations: 12.2 kB / 0.5725 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.6288, allocations: 354.4 kB / 0.5728 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.932e-05/0.6289, allocations: 8.453 kB / 0.5729 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.6291, allocations: 127.4 kB / 0.573 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.6293, allocations: 172.4 kB / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.6294, allocations: 18.62 kB / 0.5732 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.6295, allocations: 17.69 kB / 0.5732 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.6296, allocations: 142.8 kB / 0.5733 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.6298, allocations: 152 kB / 0.5735 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.63, allocations: 248.4 kB / 0.5737 GB, free: 41.94 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6301, allocations: 0 / 0.5737 GB, free: 41.94 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6301, allocations: 0 / 0.5737 GB, free: 41.94 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.6301, allocations: 0 / 0.5737 GB, free: 41.94 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.001529/0.6316, allocations: 0.731 MB / 0.5744 GB, free: 41.37 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.6317, allocations: 13.52 kB / 0.5744 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.64e-05/0.6318, allocations: 35.88 kB / 0.5745 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.6321, allocations: 245.7 kB / 0.5747 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.6321, allocations: 28.5 kB / 0.5747 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.6322, allocations: 60.36 kB / 0.5748 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.6328, allocations: 344 kB / 0.5751 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.6328, allocations: 192 / 0.5751 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.6328, allocations: 14.09 kB / 0.5751 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6329, allocations: 6.719 kB / 0.5751 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.6333, allocations: 204.7 kB / 0.5753 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.6353, allocations: 1.005 MB / 0.5763 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.6391, allocations: 1.21 MB / 0.5775 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.6394, allocations: 197.1 kB / 0.5777 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.6395, allocations: 3.688 kB / 0.5777 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.6395, allocations: 49.91 kB / 0.5777 GB, free: 39.48 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.6395, allocations: 0 / 0.5777 GB, free: 39.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001305/0.6408, allocations: 0.567 MB / 0.5783 GB, free: 39.22 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.6409, allocations: 55.09 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.641, allocations: 129 kB / 0.5785 GB, free: 39.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.641, allocations: 40.48 kB / 0.5785 GB, free: 39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.6411, allocations: 120.5 kB / 0.5786 GB, free: 38.88 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.6412, allocations: 191.8 kB / 0.5788 GB, free: 38.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.6414, allocations: 131.1 kB / 0.5789 GB, free: 38.63 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.6415, allocations: 343.6 kB / 0.5792 GB, free: 38.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.6418, allocations: 223.1 kB / 0.5795 GB, free: 38.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.6422, allocations: 232.3 kB / 0.5797 GB, free: 38.1 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.6429, allocations: 0.4978 MB / 0.5802 GB, free: 37.86 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6429, allocations: 0 / 0.5802 GB, free: 37.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009574/0.6439, allocations: 0.6294 MB / 0.5808 GB, free: 37.57 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6439, allocations: 5.062 kB / 0.5808 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6439, allocations: 0 / 0.5808 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.644, allocations: 2.5 kB / 0.5808 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009/0.6449, allocations: 221.1 kB / 0.581 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.6449, allocations: 7.625 kB / 0.581 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.6452, allocations: 63.19 kB / 0.5811 GB, free: 37.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.6452, allocations: 20.92 kB / 0.5811 GB, free: 37.46 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.0001532/0.6454, allocations: 158 kB / 0.5812 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.6454, allocations: 21.91 kB / 0.5813 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.6456, allocations: 55.8 kB / 0.5813 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6456, allocations: 4.594 kB / 0.5813 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.6456, allocations: 0 / 0.5813 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6456, allocations: 4.938 kB / 0.5813 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.646, allocations: 383.2 kB / 0.5817 GB, free: 36.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6461, allocations: 9.031 kB / 0.5817 GB, free: 36.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.6473, allocations: 226.5 kB / 0.5819 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6473, allocations: 1.062 kB / 0.5819 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.6474, allocations: 25.22 kB / 0.5819 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6474, allocations: 1.062 kB / 0.5819 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6474, allocations: 1.188 kB / 0.5819 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.6484, allocations: 0.7063 MB / 0.5826 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.6484, allocations: 107.1 kB / 0.5827 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.6485, allocations: 19.39 kB / 0.5827 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.6488, allocations: 25.56 kB / 0.5828 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.6489, allocations: 28.11 kB / 0.5828 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.6489, allocations: 12.62 kB / 0.5828 GB, free: 36.32 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.6489, allocations: 97.2 kB / 0.5829 GB, free: 36.24 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6489, allocations: 0 / 0.5829 GB, free: 36.24 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000418/0.6494, allocations: 118.3 kB / 0.583 GB, free: 36.21 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.0001544/0.6495, allocations: 131.5 kB / 0.5831 GB, free: 36.11 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.6506, allocations: 0.6096 MB / 0.5837 GB, free: 35.89 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6506, allocations: 0 / 0.5837 GB, free: 35.89 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.651, allocations: 220.5 kB / 0.5839 GB, free: 35.8 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.6513, allocations: 28.95 kB / 0.584 GB, free: 35.78 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.6543, allocations: 2.698 MB / 0.5866 GB, free: 33.24 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.6545, allocations: 0.7969 MB / 0.5874 GB, free: 32.42 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.6548, allocations: 162.8 kB / 0.5875 GB, free: 32.26 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.655, allocations: 27.44 kB / 0.5876 GB, free: 32.23 MB / 462.3 MB Notification: Performance of SimCode: time 1.553e-06/0.655, allocations: 0 / 0.5876 GB, free: 32.23 MB / 462.3 MB Notification: Performance of Templates: time 0.005668/0.6606, allocations: 3.082 MB / 0.5906 GB, free: 29.2 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