Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.0009223/0.0009224, allocations: 105.2 kB / 17.01 MB, free: 5.785 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.0008553/0.0008553, allocations: 196.5 kB / 17.95 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3633/0.3633, allocations: 225.7 MB / 244.4 MB, free: 5.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.599/0.599, allocations: 119.5 MB / 414 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009845/0.0009845, allocations: 59.91 kB / 0.4959 GB, free: 12.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4187, allocations: 80.67 MB / 0.5747 GB, free: 57.09 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001895/0.4206, allocations: 1.352 MB / 0.576 GB, free: 56.16 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0001894/0.4208, allocations: 61.12 kB / 0.5761 GB, free: 56.12 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.4209, allocations: 0 / 0.5761 GB, free: 56.12 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 8.491e-05/0.421, allocations: 6.922 kB / 0.5761 GB, free: 56.11 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 7.18e-05/0.4211, allocations: 16.5 kB / 0.5761 GB, free: 56.11 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.4212, allocations: 22.75 kB / 0.5761 GB, free: 56.1 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.4215, allocations: 355.4 kB / 0.5765 GB, free: 56 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.4215, allocations: 8.734 kB / 0.5765 GB, free: 56 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4217, allocations: 136.7 kB / 0.5766 GB, free: 55.96 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.4219, allocations: 177.2 kB / 0.5768 GB, free: 55.92 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.422, allocations: 18.03 kB / 0.5768 GB, free: 55.92 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.422, allocations: 18.12 kB / 0.5768 GB, free: 55.92 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.4222, allocations: 145.7 kB / 0.5769 GB, free: 55.88 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.4223, allocations: 143.7 kB / 0.5771 GB, free: 55.81 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.4226, allocations: 244.2 kB / 0.5773 GB, free: 55.75 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4226, allocations: 0.6094 kB / 0.5773 GB, free: 55.75 MB / 478.2 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4226, allocations: 1.219 kB / 0.5773 GB, free: 55.75 MB / 478.2 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4226, allocations: 0 / 0.5773 GB, free: 55.75 MB / 478.2 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.001462/0.4241, allocations: 0.7554 MB / 0.5781 GB, free: 55.28 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4241, allocations: 10.09 kB / 0.5781 GB, free: 55.28 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.4242, allocations: 34.78 kB / 0.5781 GB, free: 55.26 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.4244, allocations: 248.6 kB / 0.5783 GB, free: 55.05 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4244, allocations: 31.16 kB / 0.5784 GB, free: 55.03 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/0.4245, allocations: 58.52 kB / 0.5784 GB, free: 55 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.425, allocations: 345.1 kB / 0.5788 GB, free: 54.9 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4251, allocations: 4.844 kB / 0.5788 GB, free: 54.89 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.4251, allocations: 13.81 kB / 0.5788 GB, free: 54.88 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4251, allocations: 6.562 kB / 0.5788 GB, free: 54.88 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.4254, allocations: 208.2 kB / 0.579 GB, free: 54.83 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.4271, allocations: 0.9916 MB / 0.5799 GB, free: 54.4 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.4303, allocations: 1.218 MB / 0.5811 GB, free: 54.16 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.4306, allocations: 195.8 kB / 0.5813 GB, free: 54.09 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4306, allocations: 4.969 kB / 0.5813 GB, free: 54.09 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.4306, allocations: 41.36 kB / 0.5814 GB, free: 54.05 MB / 478.2 MB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.4306, allocations: 0 / 0.5814 GB, free: 54.05 MB / 478.2 MB Notification: Performance of matching and sorting (n=42): time 0.0008437/0.4315, allocations: 0.5693 MB / 0.5819 GB, free: 53.86 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.4315, allocations: 60.12 kB / 0.582 GB, free: 53.79 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.4316, allocations: 132.7 kB / 0.5821 GB, free: 53.68 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.4316, allocations: 37.16 kB / 0.5821 GB, free: 53.64 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.4317, allocations: 121.9 kB / 0.5823 GB, free: 53.53 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 9.102e-05/0.4318, allocations: 195 kB / 0.5824 GB, free: 53.38 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4319, allocations: 129.9 kB / 0.5826 GB, free: 53.3 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.4319, allocations: 341.3 kB / 0.5829 GB, free: 52.98 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.4322, allocations: 219.7 kB / 0.5831 GB, free: 52.93 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.4325, allocations: 234.4 kB / 0.5833 GB, free: 52.87 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.4331, allocations: 0.4915 MB / 0.5838 GB, free: 52.69 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4331, allocations: 0.75 kB / 0.5838 GB, free: 52.69 MB / 478.2 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007577/0.4339, allocations: 0.6207 MB / 0.5844 GB, free: 52.48 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.4339, allocations: 12.31 kB / 0.5844 GB, free: 52.47 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4339, allocations: 2.172 kB / 0.5844 GB, free: 52.47 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4339, allocations: 2.75 kB / 0.5844 GB, free: 52.47 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.4347, allocations: 225 kB / 0.5846 GB, free: 52.45 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4347, allocations: 8.438 kB / 0.5846 GB, free: 52.45 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.4349, allocations: 58.06 kB / 0.5847 GB, free: 52.41 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.435, allocations: 20.91 kB / 0.5847 GB, free: 52.41 MB / 478.2 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.0001159/0.4351, allocations: 159.7 kB / 0.5849 GB, free: 52.27 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.4352, allocations: 22.75 kB / 0.5849 GB, free: 52.26 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.4353, allocations: 52.55 kB / 0.5849 GB, free: 52.21 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4353, allocations: 4.125 kB / 0.585 GB, free: 52.21 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4353, allocations: 0.6562 kB / 0.585 GB, free: 52.21 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4353, allocations: 1.969 kB / 0.585 GB, free: 52.21 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.4357, allocations: 394.4 kB / 0.5853 GB, free: 51.94 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4357, allocations: 5.391 kB / 0.5853 GB, free: 51.94 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.4367, allocations: 222.8 kB / 0.5855 GB, free: 51.93 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4368, allocations: 1.844 kB / 0.5856 GB, free: 51.93 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.4368, allocations: 28.64 kB / 0.5856 GB, free: 51.92 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4368, allocations: 1.844 kB / 0.5856 GB, free: 51.92 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4368, allocations: 0 / 0.5856 GB, free: 51.92 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.4376, allocations: 0.7038 MB / 0.5863 GB, free: 51.61 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.4377, allocations: 103.7 kB / 0.5864 GB, free: 51.5 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.4377, allocations: 26.94 kB / 0.5864 GB, free: 51.49 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.438, allocations: 20.16 kB / 0.5864 GB, free: 51.48 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.438, allocations: 26.52 kB / 0.5864 GB, free: 51.48 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.4381, allocations: 17.53 kB / 0.5865 GB, free: 51.47 MB / 478.2 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.4381, allocations: 96.86 kB / 0.5865 GB, free: 51.39 MB / 478.2 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4381, allocations: 0 / 0.5865 GB, free: 51.39 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0003183/0.4384, allocations: 119.8 kB / 0.5867 GB, free: 51.37 MB / 478.2 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.0001006/0.4385, allocations: 126.5 kB / 0.5868 GB, free: 51.27 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.4392, allocations: 495.6 kB / 0.5873 GB, free: 51.14 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4392, allocations: 0 / 0.5873 GB, free: 51.14 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.4395, allocations: 226.7 kB / 0.5875 GB, free: 51.08 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.4397, allocations: 21 kB / 0.5875 GB, free: 51.06 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4421, allocations: 2.706 MB / 0.5901 GB, free: 48.99 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4423, allocations: 0.7979 MB / 0.5909 GB, free: 48.29 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.4426, allocations: 155.2 kB / 0.5911 GB, free: 48.25 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4428, allocations: 30.81 kB / 0.5911 GB, free: 48.24 MB / 478.2 MB Notification: Performance of SimCode: time 2.51e-07/0.4428, allocations: 0 / 0.5911 GB, free: 48.24 MB / 478.2 MB Notification: Performance of Templates: time 0.004728/0.4475, allocations: 3.159 MB / 0.5942 GB, free: 46.71 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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_OB_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches