Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|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.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 91.86 kB / 16.65 MB, free: 6.59 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.001387/0.001387, allocations: 186.7 kB / 17.57 MB, free: 6.199 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.561/1.561, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.211/1.211, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003488, allocations: 15.98 kB / 0.4962 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6265, allocations: 82.82 MB / 0.5771 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.001277/0.6278, allocations: 1.057 MB / 0.5782 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.6281, allocations: 58.62 kB / 0.5782 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.6281, allocations: 1.375 kB / 0.5782 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.6282, allocations: 0 / 0.5782 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.6283, allocations: 29.72 kB / 0.5782 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.6285, allocations: 16.09 kB / 0.5783 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.6287, allocations: 221.4 kB / 0.5785 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.6288, allocations: 5.422 kB / 0.5785 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.469e-05/0.6289, allocations: 75.75 kB / 0.5786 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.6291, allocations: 102.4 kB / 0.5787 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.6291, allocations: 9.625 kB / 0.5787 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.287e-05/0.6292, allocations: 9.625 kB / 0.5787 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.6293, allocations: 73.91 kB / 0.5787 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.6294, allocations: 103.6 kB / 0.5788 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.6296, allocations: 129.1 kB / 0.579 GB, free: 41.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6296, allocations: 0 / 0.579 GB, free: 41.33 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6296, allocations: 0 / 0.579 GB, free: 41.33 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.6296, allocations: 0 / 0.579 GB, free: 41.33 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009445/0.6306, allocations: 0.4994 MB / 0.5794 GB, free: 40.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6306, allocations: 9.219 kB / 0.5795 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.6307, allocations: 22.91 kB / 0.5795 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.6309, allocations: 209.9 kB / 0.5797 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.631, allocations: 15.69 kB / 0.5797 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.6311, allocations: 40.89 kB / 0.5797 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.6315, allocations: 179.4 kB / 0.5799 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.6315, allocations: 1.125 kB / 0.5799 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.6315, allocations: 8.844 kB / 0.5799 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.6315, allocations: 2.781 kB / 0.5799 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.6318, allocations: 113.3 kB / 0.58 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.6332, allocations: 0.6149 MB / 0.5806 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.6352, allocations: 0.5753 MB / 0.5812 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.6354, allocations: 98.03 kB / 0.5813 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.6354, allocations: 2.531 kB / 0.5813 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6354, allocations: 40.11 kB / 0.5813 GB, free: 39.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.6354, allocations: 0 / 0.5813 GB, free: 39.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0006935/0.6361, allocations: 312.9 kB / 0.5816 GB, free: 39.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.6362, allocations: 53.91 kB / 0.5817 GB, free: 39.44 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.6363, allocations: 126.9 kB / 0.5818 GB, free: 39.32 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.6363, allocations: 30.95 kB / 0.5818 GB, free: 39.29 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.6364, allocations: 105.7 kB / 0.5819 GB, free: 39.18 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.6365, allocations: 105.9 kB / 0.582 GB, free: 39.09 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.6365, allocations: 40.3 kB / 0.5821 GB, free: 39.06 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.6366, allocations: 331.8 kB / 0.5824 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.6368, allocations: 115 kB / 0.5825 GB, free: 38.68 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.6371, allocations: 113.6 kB / 0.5826 GB, free: 38.63 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.6376, allocations: 257.3 kB / 0.5828 GB, free: 38.51 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6376, allocations: 3.938 kB / 0.5828 GB, free: 38.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006203/0.6382, allocations: 335 kB / 0.5832 GB, free: 38.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.6382, allocations: 9.531 kB / 0.5832 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6383, allocations: 0 / 0.5832 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.6383, allocations: 1.844 kB / 0.5832 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.6388, allocations: 113 kB / 0.5833 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6388, allocations: 1.219 kB / 0.5833 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.639, allocations: 27.39 kB / 0.5833 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.639, allocations: 11.16 kB / 0.5833 GB, free: 38.29 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 (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 prepare postOptimizeDAE: time 0.0001235/0.6391, allocations: 140.2 kB / 0.5835 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.6392, allocations: 14.69 kB / 0.5835 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.6393, allocations: 38.2 kB / 0.5835 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6393, allocations: 2.438 kB / 0.5835 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.6393, allocations: 0 / 0.5835 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6393, allocations: 4.969 kB / 0.5835 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.6397, allocations: 265.6 kB / 0.5838 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6397, allocations: 1 kB / 0.5838 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.6403, allocations: 113.7 kB / 0.5839 GB, free: 37.83 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.6403, allocations: 0 / 0.5839 GB, free: 37.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.6404, allocations: 14.39 kB / 0.5839 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6404, allocations: 5.062 kB / 0.5839 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6404, allocations: 0.6875 kB / 0.5839 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.641, allocations: 436.7 kB / 0.5843 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.641, allocations: 88.73 kB / 0.5844 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.6411, allocations: 10.42 kB / 0.5844 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6412, allocations: 13.3 kB / 0.5844 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.6413, allocations: 10.11 kB / 0.5844 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.6413, allocations: 12.44 kB / 0.5844 GB, free: 37.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.6414, allocations: 96.95 kB / 0.5845 GB, free: 37.34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6414, allocations: 1.375 kB / 0.5845 GB, free: 37.34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000315/0.6417, allocations: 59.72 kB / 0.5846 GB, free: 37.33 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.0001339/0.6418, allocations: 123.4 kB / 0.5847 GB, free: 37.22 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.6424, allocations: 246.4 kB / 0.5849 GB, free: 37.13 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6424, allocations: 7.938 kB / 0.585 GB, free: 37.12 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.6426, allocations: 113.6 kB / 0.5851 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.643, allocations: 11.25 kB / 0.5851 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.6453, allocations: 1.74 MB / 0.5868 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.6456, allocations: 0.7414 MB / 0.5875 GB, free: 34.9 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.6458, allocations: 72.38 kB / 0.5876 GB, free: 34.87 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.6459, allocations: 17.56 kB / 0.5876 GB, free: 34.86 MB / 462.3 MB Notification: Performance of SimCode: time 7.22e-07/0.6459, allocations: 0 / 0.5876 GB, free: 34.86 MB / 462.3 MB Notification: Performance of Templates: time 0.005292/0.6512, allocations: 1.668 MB / 0.5892 GB, free: 33.56 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches