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.001642/0.001642, allocations: 108 kB / 16.92 MB, free: 5.836 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.001701/0.001701, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.574/1.574, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.463/1.463, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.4923 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6894, allocations: 80.69 MB / 0.5711 GB, free: 43.78 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.003732/0.6932, allocations: 1.329 MB / 0.5724 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002614/0.6935, allocations: 53.73 kB / 0.5725 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.6936, allocations: 5.312 kB / 0.5725 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.6937, allocations: 3.938 kB / 0.5725 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.988e-05/0.6938, allocations: 24.33 kB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.694, allocations: 18.81 kB / 0.5725 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.6942, allocations: 193.7 kB / 0.5727 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.636e-05/0.6943, allocations: 5.719 kB / 0.5727 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.6944, allocations: 76.92 kB / 0.5728 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.6946, allocations: 92.38 kB / 0.5729 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.6947, allocations: 9.938 kB / 0.5729 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/0.6947, allocations: 12.31 kB / 0.5729 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.6948, allocations: 78.95 kB / 0.573 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.6949, allocations: 77.44 kB / 0.573 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.6951, allocations: 134.5 kB / 0.5732 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.6951, allocations: 0 / 0.5732 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6951, allocations: 0 / 0.5732 GB, free: 42.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.6952, allocations: 1.188 kB / 0.5732 GB, free: 42.27 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.001067/0.6962, allocations: 0.5193 MB / 0.5737 GB, free: 41.81 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.6963, allocations: 17.58 kB / 0.5737 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.6964, allocations: 14.47 kB / 0.5737 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.6966, allocations: 214.2 kB / 0.5739 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.6967, allocations: 15.91 kB / 0.5739 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.6968, allocations: 28.06 kB / 0.5739 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.6971, allocations: 189.4 kB / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6972, allocations: 192 / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.6972, allocations: 8.781 kB / 0.5741 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.6972, allocations: 4.062 kB / 0.5741 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.6975, allocations: 111.4 kB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.6988, allocations: 0.6032 MB / 0.5748 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.7007, allocations: 0.5828 MB / 0.5754 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.7009, allocations: 93.38 kB / 0.5755 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.7009, allocations: 2.562 kB / 0.5755 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.7009, allocations: 36.25 kB / 0.5755 GB, free: 40.59 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.7009, allocations: 1.156 kB / 0.5755 GB, free: 40.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0006359/0.7016, allocations: 313 kB / 0.5758 GB, free: 40.44 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7016, allocations: 54.38 kB / 0.5759 GB, free: 40.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.7017, allocations: 133 kB / 0.576 GB, free: 40.25 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.7017, allocations: 36.55 kB / 0.576 GB, free: 40.21 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.7018, allocations: 111.2 kB / 0.5762 GB, free: 40.1 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.7019, allocations: 98.11 kB / 0.5762 GB, free: 40.02 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.702, allocations: 70.28 kB / 0.5763 GB, free: 39.97 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.7021, allocations: 329 kB / 0.5766 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.7022, allocations: 110.4 kB / 0.5767 GB, free: 39.6 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.7024, allocations: 120.6 kB / 0.5768 GB, free: 39.54 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.7028, allocations: 253.8 kB / 0.5771 GB, free: 39.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.7028, allocations: 3.938 kB / 0.5771 GB, free: 39.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005003/0.7033, allocations: 335.5 kB / 0.5774 GB, free: 39.26 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.7033, allocations: 5.219 kB / 0.5774 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7034, allocations: 3.938 kB / 0.5774 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7034, allocations: 5.453 kB / 0.5774 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.7039, allocations: 112.8 kB / 0.5775 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7039, allocations: 1.125 kB / 0.5775 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.7041, allocations: 28.61 kB / 0.5776 GB, free: 39.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.7041, allocations: 10.72 kB / 0.5776 GB, free: 39.2 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.0001119/0.7042, allocations: 140.4 kB / 0.5777 GB, free: 39.06 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.7043, allocations: 14.28 kB / 0.5777 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.7043, allocations: 30.69 kB / 0.5777 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.7044, allocations: 5.844 kB / 0.5778 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7044, allocations: 0.9062 kB / 0.5778 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7044, allocations: 3.984 kB / 0.5778 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.7047, allocations: 266.7 kB / 0.578 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7047, allocations: 0 / 0.578 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.7054, allocations: 108.8 kB / 0.5781 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.7054, allocations: 1.844 kB / 0.5781 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.7054, allocations: 18.36 kB / 0.5781 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7054, allocations: 0.9375 kB / 0.5781 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7054, allocations: 0 / 0.5781 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.7061, allocations: 430.1 kB / 0.5785 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.7062, allocations: 92.55 kB / 0.5786 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.7062, allocations: 10.42 kB / 0.5786 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.7064, allocations: 13 kB / 0.5787 GB, free: 38.35 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.7065, allocations: 18.41 kB / 0.5787 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.7065, allocations: 4.625 kB / 0.5787 GB, free: 38.34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.7065, allocations: 101.4 kB / 0.5788 GB, free: 38.25 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7066, allocations: 3.938 kB / 0.5788 GB, free: 38.25 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003276/0.7069, allocations: 56.88 kB / 0.5788 GB, free: 38.24 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.0001381/0.707, allocations: 122.1 kB / 0.579 GB, free: 38.13 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.7076, allocations: 291.2 kB / 0.5792 GB, free: 38.02 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7076, allocations: 0 / 0.5792 GB, free: 38.02 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.7078, allocations: 113.5 kB / 0.5793 GB, free: 37.98 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.7081, allocations: 15.53 kB / 0.5794 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.71, allocations: 1.415 MB / 0.5807 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.7102, allocations: 0.74 MB / 0.5815 GB, free: 36.09 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.7104, allocations: 73.66 kB / 0.5815 GB, free: 36.06 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.7105, allocations: 17.56 kB / 0.5815 GB, free: 36.05 MB / 462.3 MB Notification: Performance of SimCode: time 5.81e-07/0.7105, allocations: 0 / 0.5815 GB, free: 36.05 MB / 462.3 MB Notification: Performance of Templates: time 0.005067/0.7156, allocations: 1.73 MB / 0.5832 GB, free: 35.23 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","/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