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.001244/0.001244, allocations: 111.9 kB / 17.68 MB, free: 5.473 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.001233/0.001233, allocations: 192 kB / 18.62 MB, free: 4.543 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.352/1.352, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.053/1.053, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 63.89 kB / 0.4937 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5544, allocations: 80.69 MB / 0.5725 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.00218/0.5566, allocations: 1.338 MB / 0.5738 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.5569, allocations: 58.44 kB / 0.5739 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.5569, allocations: 5.031 kB / 0.5739 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.5571, allocations: 7.875 kB / 0.5739 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.5572, allocations: 20.44 kB / 0.5739 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.5574, allocations: 23.08 kB / 0.5739 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.5577, allocations: 350.8 kB / 0.5743 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.595e-05/0.5578, allocations: 12.84 kB / 0.5743 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.5579, allocations: 132 kB / 0.5744 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.5583, allocations: 173.5 kB / 0.5746 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.5583, allocations: 17.75 kB / 0.5746 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.5584, allocations: 17.78 kB / 0.5746 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.5585, allocations: 139.2 kB / 0.5747 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.5587, allocations: 151.4 kB / 0.5749 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.559, allocations: 244.8 kB / 0.5751 GB, free: 42.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.559, allocations: 5.281 kB / 0.5751 GB, free: 42.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.903e-06/0.559, allocations: 0 / 0.5751 GB, free: 42.07 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.5591, allocations: 0 / 0.5751 GB, free: 42.07 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.001803/0.5609, allocations: 0.7498 MB / 0.5758 GB, free: 41.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5609, allocations: 14.05 kB / 0.5759 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.561, allocations: 38.33 kB / 0.5759 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.5614, allocations: 242.6 kB / 0.5761 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.5614, allocations: 31.88 kB / 0.5762 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.5615, allocations: 52.84 kB / 0.5762 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.5621, allocations: 349.4 kB / 0.5765 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5621, allocations: 4.188 kB / 0.5765 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.5622, allocations: 13.72 kB / 0.5766 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5622, allocations: 5.406 kB / 0.5766 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.5626, allocations: 209.9 kB / 0.5768 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.5648, allocations: 0.9995 MB / 0.5777 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.5689, allocations: 1.213 MB / 0.5789 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.5692, allocations: 197.5 kB / 0.5791 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.5693, allocations: 4.375 kB / 0.5791 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.5693, allocations: 41.25 kB / 0.5792 GB, free: 39.59 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.5693, allocations: 0 / 0.5792 GB, free: 39.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.0009166/0.5702, allocations: 0.5706 MB / 0.5797 GB, free: 39.32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.5703, allocations: 60.22 kB / 0.5798 GB, free: 39.26 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.5703, allocations: 135.5 kB / 0.5799 GB, free: 39.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.5704, allocations: 40.23 kB / 0.5799 GB, free: 39.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.5704, allocations: 118 kB / 0.5801 GB, free: 38.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5705, allocations: 194.7 kB / 0.5802 GB, free: 38.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.5707, allocations: 122.4 kB / 0.5804 GB, free: 38.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.5708, allocations: 343.7 kB / 0.5807 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.5711, allocations: 223.4 kB / 0.5809 GB, free: 38.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.5714, allocations: 233 kB / 0.5811 GB, free: 38.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.5721, allocations: 0.4934 MB / 0.5816 GB, free: 37.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5721, allocations: 0 / 0.5816 GB, free: 37.96 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008627/0.573, allocations: 0.6296 MB / 0.5822 GB, free: 37.67 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.573, allocations: 5.375 kB / 0.5822 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.573, allocations: 0 / 0.5822 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.573, allocations: 3.375 kB / 0.5822 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.5739, allocations: 221.2 kB / 0.5824 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5739, allocations: 2.156 kB / 0.5824 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.5742, allocations: 62.91 kB / 0.5825 GB, free: 37.58 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.5742, allocations: 21.88 kB / 0.5825 GB, free: 37.57 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.0001214/0.5743, allocations: 158 kB / 0.5827 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.5744, allocations: 22.34 kB / 0.5827 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.417e-05/0.5745, allocations: 51.28 kB / 0.5827 GB, free: 37.37 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5745, allocations: 9 kB / 0.5827 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5745, allocations: 3.984 kB / 0.5828 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5745, allocations: 0 / 0.5828 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.5749, allocations: 392.1 kB / 0.5831 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5749, allocations: 3.938 kB / 0.5831 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.5761, allocations: 222.9 kB / 0.5833 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5761, allocations: 1.312 kB / 0.5833 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.5762, allocations: 28.52 kB / 0.5834 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5762, allocations: 3.031 kB / 0.5834 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5762, allocations: 0 / 0.5834 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.577, allocations: 0.71 MB / 0.5841 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.5771, allocations: 102.5 kB / 0.5842 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.5772, allocations: 20.42 kB / 0.5842 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.5774, allocations: 29.03 kB / 0.5842 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.5775, allocations: 24.83 kB / 0.5842 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5775, allocations: 11.59 kB / 0.5842 GB, free: 36.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.5776, allocations: 97.33 kB / 0.5843 GB, free: 36.34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5776, allocations: 0 / 0.5843 GB, free: 36.34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003463/0.5779, allocations: 119.9 kB / 0.5845 GB, free: 36.32 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.0001226/0.5781, allocations: 127 kB / 0.5846 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.5788, allocations: 499.3 kB / 0.5851 GB, free: 36.02 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5788, allocations: 0 / 0.5851 GB, free: 36.02 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.5791, allocations: 232.3 kB / 0.5853 GB, free: 35.92 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.5794, allocations: 31.75 kB / 0.5853 GB, free: 35.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.5818, allocations: 2.686 MB / 0.5879 GB, free: 33.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.582, allocations: 0.793 MB / 0.5887 GB, free: 32.34 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002858/0.5823, allocations: 158.8 kB / 0.5889 GB, free: 32.19 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5824, allocations: 27.44 kB / 0.5889 GB, free: 32.16 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.5824, allocations: 0 / 0.5889 GB, free: 32.16 MB / 462.3 MB Notification: Performance of Templates: time 0.00501/0.5874, allocations: 3.082 MB / 0.5919 GB, free: 29.12 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 -s gbode -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