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.001358/0.001357, allocations: 115.8 kB / 17.69 MB, free: 5.371 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.001149/0.001149, allocations: 191 kB / 18.62 MB, free: 4.449 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: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.016/1.016, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.89 kB / 0.4937 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.583, allocations: 80.68 MB / 0.5725 GB, free: 44.14 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002545/0.5856, allocations: 1.332 MB / 0.5738 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.5859, allocations: 55.11 kB / 0.5739 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.586, allocations: 1.375 kB / 0.5739 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.5861, allocations: 7.922 kB / 0.5739 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.5862, allocations: 23.72 kB / 0.5739 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.5864, allocations: 20.08 kB / 0.5739 GB, free: 43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.5866, allocations: 196.2 kB / 0.5741 GB, free: 42.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.5867, allocations: 7.781 kB / 0.5741 GB, free: 42.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.5868, allocations: 76.75 kB / 0.5742 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.587, allocations: 97 kB / 0.5743 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.587, allocations: 10.22 kB / 0.5743 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.5871, allocations: 9 kB / 0.5743 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.5872, allocations: 77.17 kB / 0.5744 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.5873, allocations: 77.95 kB / 0.5744 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.5874, allocations: 134.5 kB / 0.5746 GB, free: 42.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5874, allocations: 3.984 kB / 0.5746 GB, free: 42.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5874, allocations: 1.562 kB / 0.5746 GB, free: 42.63 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.5874, allocations: 0 / 0.5746 GB, free: 42.63 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.001003/0.5884, allocations: 0.5341 MB / 0.5751 GB, free: 42.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5885, allocations: 13.77 kB / 0.5751 GB, free: 42.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.5886, allocations: 15.16 kB / 0.5751 GB, free: 42.15 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.5888, allocations: 213.1 kB / 0.5753 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5888, allocations: 16.75 kB / 0.5753 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.5889, allocations: 27.75 kB / 0.5754 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.5892, allocations: 188.7 kB / 0.5756 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5892, allocations: 4.188 kB / 0.5756 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.5892, allocations: 13.34 kB / 0.5756 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.5893, allocations: 3.219 kB / 0.5756 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.5895, allocations: 109 kB / 0.5757 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.5906, allocations: 0.598 MB / 0.5763 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.5924, allocations: 0.58 MB / 0.5768 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.5925, allocations: 94.38 kB / 0.5769 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.5926, allocations: 5.312 kB / 0.5769 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.5926, allocations: 33.69 kB / 0.577 GB, free: 40.94 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.5926, allocations: 3.984 kB / 0.577 GB, free: 40.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0005512/0.5932, allocations: 316.7 kB / 0.5773 GB, free: 40.77 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.5932, allocations: 58.09 kB / 0.5773 GB, free: 40.71 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.5933, allocations: 125.6 kB / 0.5774 GB, free: 40.59 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.5933, allocations: 32.2 kB / 0.5775 GB, free: 40.55 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.5933, allocations: 107.6 kB / 0.5776 GB, free: 40.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.5934, allocations: 102 kB / 0.5777 GB, free: 40.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.5935, allocations: 70.62 kB / 0.5777 GB, free: 40.31 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.5936, allocations: 328.3 kB / 0.578 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.5937, allocations: 117.7 kB / 0.5782 GB, free: 39.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.5939, allocations: 121.3 kB / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.5943, allocations: 252.6 kB / 0.5785 GB, free: 39.76 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5943, allocations: 4.844 kB / 0.5785 GB, free: 39.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004446/0.5948, allocations: 335.6 kB / 0.5788 GB, free: 39.59 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5948, allocations: 4.625 kB / 0.5788 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5948, allocations: 0.9062 kB / 0.5788 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5948, allocations: 1.844 kB / 0.5788 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.5953, allocations: 116.4 kB / 0.579 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.5953, allocations: 1.844 kB / 0.579 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5955, allocations: 27.2 kB / 0.579 GB, free: 39.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.5955, allocations: 11.38 kB / 0.579 GB, free: 39.54 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.0001016/0.5956, allocations: 148.6 kB / 0.5791 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.5956, allocations: 14.25 kB / 0.5792 GB, free: 39.39 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.5957, allocations: 25.78 kB / 0.5792 GB, free: 39.37 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5957, allocations: 2.75 kB / 0.5792 GB, free: 39.37 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5957, allocations: 0 / 0.5792 GB, free: 39.37 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5957, allocations: 4.922 kB / 0.5792 GB, free: 39.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.596, allocations: 265.8 kB / 0.5794 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.596, allocations: 4.891 kB / 0.5794 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.5967, allocations: 109.4 kB / 0.5795 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5967, allocations: 0.9375 kB / 0.5795 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.5967, allocations: 10.42 kB / 0.5796 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5968, allocations: 0.9375 kB / 0.5796 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5968, allocations: 0 / 0.5796 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.5973, allocations: 432.4 kB / 0.58 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.5974, allocations: 100.5 kB / 0.5801 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.5974, allocations: 9.531 kB / 0.5801 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.5976, allocations: 17.52 kB / 0.5801 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.5976, allocations: 14.41 kB / 0.5801 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.5977, allocations: 4.625 kB / 0.5801 GB, free: 38.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.633e-05/0.5977, allocations: 104.8 kB / 0.5802 GB, free: 38.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5977, allocations: 0.9062 kB / 0.5802 GB, free: 38.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003023/0.598, allocations: 57.09 kB / 0.5803 GB, free: 38.58 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.0001083/0.5982, allocations: 122.2 kB / 0.5804 GB, free: 38.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.5986, allocations: 246.8 kB / 0.5806 GB, free: 38.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5986, allocations: 5.188 kB / 0.5806 GB, free: 38.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.5987, allocations: 109.5 kB / 0.5807 GB, free: 38.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.5991, allocations: 18.39 kB / 0.5807 GB, free: 38.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.6007, allocations: 1.408 MB / 0.5821 GB, free: 37.18 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.6009, allocations: 0.7412 MB / 0.5828 GB, free: 36.45 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.601, allocations: 72.38 kB / 0.5829 GB, free: 36.42 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.6011, allocations: 17.56 kB / 0.5829 GB, free: 36.41 MB / 462.3 MB Notification: Performance of SimCode: time 5.11e-07/0.6011, allocations: 1.25 kB / 0.5829 GB, free: 36.41 MB / 462.3 MB Notification: Performance of Templates: time 0.004628/0.6058, allocations: 1.723 MB / 0.5846 GB, free: 35.6 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches