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.001378/0.001378, allocations: 94.92 kB / 16.3 MB, free: 6.133 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.001447/0.001447, allocations: 177.7 kB / 17.19 MB, free: 6.016 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.313/1.313, allocations: 223.2 MB / 241.1 MB, free: 280 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8455/0.8455, allocations: 120.5 MB / 412.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 8 kB / 0.4955 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4719, allocations: 82.84 MB / 0.5764 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.0009945/0.473, allocations: 1.036 MB / 0.5774 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.4732, allocations: 59.44 kB / 0.5774 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.4732, allocations: 0 / 0.5774 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.333e-05/0.4733, allocations: 13.14 kB / 0.5774 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.4734, allocations: 20.86 kB / 0.5775 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.4735, allocations: 15.86 kB / 0.5775 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.4737, allocations: 225.7 kB / 0.5777 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.4738, allocations: 3.312 kB / 0.5777 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/0.4739, allocations: 129.6 kB / 0.5778 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.4741, allocations: 165.5 kB / 0.578 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.4741, allocations: 17.75 kB / 0.578 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.215e-05/0.4742, allocations: 19.19 kB / 0.578 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.4743, allocations: 137.3 kB / 0.5781 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.4744, allocations: 67.83 kB / 0.5782 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.4745, allocations: 171.3 kB / 0.5784 GB, free: 41.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.4745, allocations: 0 / 0.5784 GB, free: 41.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4745, allocations: 1.375 kB / 0.5784 GB, free: 41.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.4745, allocations: 0 / 0.5784 GB, free: 41.18 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.001301/0.4758, allocations: 0.6851 MB / 0.579 GB, free: 40.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4759, allocations: 9.219 kB / 0.5791 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.476, allocations: 34.23 kB / 0.5791 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.4763, allocations: 252.8 kB / 0.5793 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4763, allocations: 28.25 kB / 0.5794 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.4764, allocations: 51.25 kB / 0.5794 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.4769, allocations: 346.9 kB / 0.5797 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4769, allocations: 3.938 kB / 0.5797 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.477, allocations: 10.75 kB / 0.5797 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.477, allocations: 7.438 kB / 0.5798 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.4773, allocations: 207.4 kB / 0.58 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.4792, allocations: 1.029 MB / 0.581 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.4828, allocations: 1.21 MB / 0.5821 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.4829, allocations: 4.625 kB / 0.5821 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.4829, allocations: 36.41 kB / 0.5822 GB, free: 38.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.4829, allocations: 4 kB / 0.5822 GB, free: 38.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0009427/0.4839, allocations: 0.5777 MB / 0.5827 GB, free: 38.58 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.4839, allocations: 55.44 kB / 0.5828 GB, free: 38.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.484, allocations: 132.2 kB / 0.5829 GB, free: 38.39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.484, allocations: 35.83 kB / 0.583 GB, free: 38.36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.4841, allocations: 117.2 kB / 0.5831 GB, free: 38.24 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.4842, allocations: 195.7 kB / 0.5833 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.4842, allocations: 14.41 kB / 0.5833 GB, free: 38.06 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.4842, allocations: 343.9 kB / 0.5836 GB, free: 37.72 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.4846, allocations: 219.9 kB / 0.5838 GB, free: 37.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.4849, allocations: 227.8 kB / 0.584 GB, free: 37.53 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.4852, allocations: 268.3 kB / 0.5843 GB, free: 37.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4852, allocations: 0 / 0.5843 GB, free: 37.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008118/0.4861, allocations: 0.6203 MB / 0.5849 GB, free: 37.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4861, allocations: 7.531 kB / 0.5849 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4861, allocations: 0 / 0.5849 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4861, allocations: 3.812 kB / 0.5849 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.487, allocations: 224.7 kB / 0.5851 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.487, allocations: 2.531 kB / 0.5851 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.4872, allocations: 62.58 kB / 0.5852 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.4873, allocations: 17.91 kB / 0.5852 GB, free: 37.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.4874, allocations: 161.9 kB / 0.5853 GB, free: 36.87 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.4874, allocations: 21.88 kB / 0.5854 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.4875, allocations: 52.48 kB / 0.5854 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4875, allocations: 3.812 kB / 0.5854 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4876, allocations: 0 / 0.5854 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4876, allocations: 5.234 kB / 0.5854 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.4879, allocations: 398.9 kB / 0.5858 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4879, allocations: 4 kB / 0.5858 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.4891, allocations: 219.8 kB / 0.586 GB, free: 36.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4891, allocations: 4 kB / 0.586 GB, free: 36.23 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4891, allocations: 27.97 kB / 0.5861 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4891, allocations: 4 kB / 0.5861 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4891, allocations: 0 / 0.5861 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.4899, allocations: 0.7064 MB / 0.5867 GB, free: 35.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.4899, allocations: 96.86 kB / 0.5868 GB, free: 35.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.49, allocations: 19.98 kB / 0.5869 GB, free: 35.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.4902, allocations: 27.97 kB / 0.5869 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.4903, allocations: 31.73 kB / 0.5869 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.4903, allocations: 8 kB / 0.5869 GB, free: 35.28 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.116e-05/0.4904, allocations: 95.27 kB / 0.587 GB, free: 35.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4904, allocations: 0 / 0.587 GB, free: 35.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003247/0.4907, allocations: 119.8 kB / 0.5871 GB, free: 35.07 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 (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.0001071/0.4908, allocations: 127.2 kB / 0.5872 GB, free: 34.94 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.4914, allocations: 495.7 kB / 0.5877 GB, free: 34.45 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4914, allocations: 0 / 0.5877 GB, free: 34.45 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.4917, allocations: 227.8 kB / 0.5879 GB, free: 34.23 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.4918, allocations: 19.89 kB / 0.588 GB, free: 34.21 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.4945, allocations: 3.31 MB / 0.5912 GB, free: 30.86 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.4947, allocations: 0.8104 MB / 0.592 GB, free: 30.02 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.495, allocations: 158.8 kB / 0.5921 GB, free: 29.87 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.4951, allocations: 35.38 kB / 0.5922 GB, free: 29.83 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4951, allocations: 0 / 0.5922 GB, free: 29.83 MB / 462.3 MB Notification: Performance of Templates: time 0.004769/0.4999, allocations: 2.864 MB / 0.595 GB, free: 27 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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