Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002731/0.002731, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.274/1.274, allocations: 120.6 MB / 434.5 MB, free: 0.6289 MB / 334.1 MB " [Timeout remaining time 178] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.91 kB / 0.6072 GB, free: 10.27 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1878, allocations: 85.87 MB / 0.691 GB, free: 4.188 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002881/0.1907, allocations: 1.225 MB / 0.6922 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.1909, allocations: 51.88 kB / 0.6923 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.1909, allocations: 0 / 0.6923 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.694e-05/0.191, allocations: 3.938 kB / 0.6923 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.1911, allocations: 11.97 kB / 0.6923 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1913, allocations: 23.89 kB / 0.6923 GB, free: 2.867 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1915, allocations: 103.8 kB / 0.6924 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.1916, allocations: 0 / 0.6924 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.1916, allocations: 43.89 kB / 0.6924 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1918, allocations: 31.95 kB / 0.6925 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1918, allocations: 8 kB / 0.6925 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.324e-05/0.1918, allocations: 4 kB / 0.6925 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.1919, allocations: 31.89 kB / 0.6925 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.1919, allocations: 23.92 kB / 0.6925 GB, free: 2.625 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1921, allocations: 47.8 kB / 0.6926 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1921, allocations: 4 kB / 0.6926 GB, free: 2.574 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1921, allocations: 0 / 0.6926 GB, free: 2.574 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1921, allocations: 3.938 kB / 0.6926 GB, free: 2.57 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008201/0.1929, allocations: 330.2 kB / 0.6929 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.1929, allocations: 12.03 kB / 0.6929 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.193, allocations: 4.938 kB / 0.6929 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1932, allocations: 122.8 kB / 0.693 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1932, allocations: 8.375 kB / 0.693 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.1933, allocations: 12.38 kB / 0.693 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1935, allocations: 90.19 kB / 0.6931 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1935, allocations: 192 / 0.6931 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1935, allocations: 3.938 kB / 0.6931 GB, free: 1.938 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1935, allocations: 4 kB / 0.6931 GB, free: 1.934 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1936, allocations: 39.97 kB / 0.6932 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.1939, allocations: 153.2 kB / 0.6933 GB, free: 1.715 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.1943, allocations: 138.5 kB / 0.6935 GB, free: 1.57 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.1944, allocations: 48.77 kB / 0.6935 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1944, allocations: 4 kB / 0.6935 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1945, allocations: 34.56 kB / 0.6935 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1945, allocations: 4 kB / 0.6935 GB, free: 1.469 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0007671/0.1952, allocations: 226.5 kB / 0.6938 GB, free: 1.238 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1953, allocations: 59.34 kB / 0.6938 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1954, allocations: 97.86 kB / 0.6939 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1954, allocations: 25.7 kB / 0.6939 GB, free: 1.031 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1955, allocations: 88.14 kB / 0.694 GB, free: 0.9414 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-05/0.1956, allocations: 59.53 kB / 0.6941 GB, free: 0.8828 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.1956, allocations: 33.72 kB / 0.6941 GB, free: 0.8438 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.1958, allocations: 322.8 kB / 0.6944 GB, free: 0.5195 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.1959, allocations: 51.97 kB / 0.6945 GB, free: 480 kB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1961, allocations: 95.28 kB / 0.6946 GB, free: 372 kB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1963, allocations: 148.5 kB / 0.6947 GB, free: 208 kB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1963, allocations: 0 / 0.6947 GB, free: 208 kB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004956/0.1968, allocations: 230.3 kB / 0.6949 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1968, allocations: 8 kB / 0.6949 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1968, allocations: 0 / 0.6949 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.1972, allocations: 64.86 kB / 0.695 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1973, allocations: 35.92 kB / 0.695 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.199, allocations: 1.46 MB / 0.6964 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.1991, allocations: 11.95 kB / 0.6965 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1991, allocations: 4 kB / 0.6965 GB, free: 14.27 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.1992, allocations: 125.8 kB / 0.6966 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.1992, allocations: 7.953 kB / 0.6966 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1993, allocations: 16.06 kB / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1993, allocations: 4 kB / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1993, allocations: 0 / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1993, allocations: 0 / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1995, allocations: 153.2 kB / 0.6968 GB, free: 13.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1995, allocations: 0 / 0.6968 GB, free: 13.94 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1996, allocations: 27.94 kB / 0.6968 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/0.1999, allocations: 64.78 kB / 0.6968 GB, free: 13.84 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1999, allocations: 4 kB / 0.6968 GB, free: 13.84 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.2015, allocations: 1.46 MB / 0.6983 GB, free: 12.28 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2015, allocations: 0 / 0.6983 GB, free: 12.28 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.202, allocations: 261.6 kB / 0.6985 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.202, allocations: 15.88 kB / 0.6985 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.202, allocations: 4 kB / 0.6985 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.2021, allocations: 4 kB / 0.6985 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2021, allocations: 7.984 kB / 0.6986 GB, free: 11.97 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2021, allocations: 7.922 kB / 0.6986 GB, free: 11.96 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.2022, allocations: 83.34 kB / 0.6986 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.2022, allocations: 0 / 0.6986 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002451/0.2024, allocations: 32 kB / 0.6987 GB, free: 11.85 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.2025, allocations: 99.25 kB / 0.6988 GB, free: 11.74 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005533/0.2031, allocations: 250.5 kB / 0.699 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.2031, allocations: 0 / 0.699 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.2034, allocations: 194.8 kB / 0.6992 GB, free: 11.28 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.2036, allocations: 11.92 kB / 0.6992 GB, free: 11.27 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2047, allocations: 0.6464 MB / 0.6998 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.2048, allocations: 99.23 kB / 0.6999 GB, free: 10.47 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.183e-05/0.2049, allocations: 24.47 kB / 0.7 GB, free: 10.45 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.2049, allocations: 11.44 kB / 0.7 GB, free: 10.44 MB / 0.5295 GB Notification: Performance of SimCode: time 4.71e-07/0.2049, allocations: 0 / 0.7 GB, free: 10.44 MB / 0.5295 GB Notification: Performance of Templates: time 0.005017/0.21, allocations: 1.405 MB / 0.7013 GB, free: 9.07 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.613517135381699]