Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.00213/0.00213, allocations: 72.45 kB / 21.24 MB, free: 0.5391 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.002543/0.002543, allocations: 158.2 kB / 24.49 MB, free: 3.715 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.488/1.488, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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.014/1.014, allocations: 88.07 MB / 349.3 MB, free: 1.367 MB / 318.1 MB " [Timeout remaining time 179] 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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [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.002119/0.002119, allocations: 74.23 kB / 0.524 GB, free: 8.266 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1908, allocations: 85.83 MB / 0.6078 GB, free: 4.895 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002937/0.1937, allocations: 1.219 MB / 0.609 GB, free: 3.664 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.1939, allocations: 31.95 kB / 0.609 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.194, allocations: 3.938 kB / 0.609 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.964e-05/0.194, allocations: 0 / 0.609 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.1941, allocations: 10.66 kB / 0.609 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.1943, allocations: 23.89 kB / 0.6091 GB, free: 3.598 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1945, allocations: 79.8 kB / 0.6091 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.1945, allocations: 4 kB / 0.6091 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.1946, allocations: 23.98 kB / 0.6092 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.1947, allocations: 23.95 kB / 0.6092 GB, free: 3.469 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1947, allocations: 4 kB / 0.6092 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.1947, allocations: 4 kB / 0.6092 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1948, allocations: 15.92 kB / 0.6092 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.1948, allocations: 23.92 kB / 0.6092 GB, free: 3.422 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1949, allocations: 35.81 kB / 0.6093 GB, free: 3.387 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1949, allocations: 4 kB / 0.6093 GB, free: 3.383 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.784e-06/0.195, allocations: 0 / 0.6093 GB, free: 3.383 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.195, allocations: 7.938 kB / 0.6093 GB, free: 3.375 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006264/0.1956, allocations: 290.3 kB / 0.6096 GB, free: 3.059 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1956, allocations: 8.031 kB / 0.6096 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1957, allocations: 4.938 kB / 0.6096 GB, free: 3.047 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1959, allocations: 114.9 kB / 0.6097 GB, free: 2.91 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1959, allocations: 8.375 kB / 0.6097 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.1959, allocations: 16.27 kB / 0.6097 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1961, allocations: 70.22 kB / 0.6098 GB, free: 2.812 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1961, allocations: 4.172 kB / 0.6098 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1961, allocations: 7.938 kB / 0.6098 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.1961, allocations: 0 / 0.6098 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.1962, allocations: 31.97 kB / 0.6098 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.1964, allocations: 125.2 kB / 0.6099 GB, free: 2.617 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1966, allocations: 70.55 kB / 0.61 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.1967, allocations: 33.02 kB / 0.61 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1967, allocations: 4 kB / 0.61 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1967, allocations: 34.55 kB / 0.6101 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 3.066e-06/0.1967, allocations: 7.984 kB / 0.6101 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002855/0.197, allocations: 121.5 kB / 0.6102 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.197, allocations: 55.41 kB / 0.6102 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.1971, allocations: 93.86 kB / 0.6103 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1972, allocations: 29.7 kB / 0.6104 GB, free: 2.121 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.1972, allocations: 88.12 kB / 0.6104 GB, free: 2.031 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.1973, allocations: 31.77 kB / 0.6105 GB, free: 2 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.1973, allocations: 37.7 kB / 0.6105 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1975, allocations: 318.8 kB / 0.6108 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.1976, allocations: 47.84 kB / 0.6109 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1977, allocations: 71.64 kB / 0.6109 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.1979, allocations: 116.2 kB / 0.611 GB, free: 1.379 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1979, allocations: 0 / 0.611 GB, free: 1.379 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002479/0.1981, allocations: 153.5 kB / 0.6112 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1981, allocations: 6.656 kB / 0.6112 GB, free: 1.219 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1982, allocations: 11.94 kB / 0.6112 GB, free: 1.207 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1982, allocations: 4.125 kB / 0.6112 GB, free: 1.203 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1984, allocations: 35.97 kB / 0.6112 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.1984, allocations: 0 / 0.6112 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.1984, allocations: 8 kB / 0.6112 GB, free: 1.16 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1984, allocations: 4 kB / 0.6112 GB, free: 1.156 MB / 0.5139 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.1986, allocations: 125.7 kB / 0.6114 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.1986, allocations: 3.953 kB / 0.6114 GB, free: 1.02 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.1986, allocations: 20.05 kB / 0.6114 GB, free: 0.9961 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1986, allocations: 4 kB / 0.6114 GB, free: 0.9922 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1986, allocations: 3.938 kB / 0.6114 GB, free: 0.9883 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1986, allocations: 4 kB / 0.6114 GB, free: 0.9844 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.1988, allocations: 125.2 kB / 0.6115 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1988, allocations: 0 / 0.6115 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.199, allocations: 27.98 kB / 0.6115 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.199, allocations: 0 / 0.6115 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.199, allocations: 3.984 kB / 0.6116 GB, free: 0.8008 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.199, allocations: 7.938 kB / 0.6116 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.199, allocations: 0 / 0.6116 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1993, allocations: 153.4 kB / 0.6117 GB, free: 0.625 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.1993, allocations: 7.953 kB / 0.6117 GB, free: 0.6172 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1993, allocations: 7.922 kB / 0.6117 GB, free: 0.6094 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.1994, allocations: 8 kB / 0.6117 GB, free: 0.6016 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.1994, allocations: 3.984 kB / 0.6117 GB, free: 0.5977 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1994, allocations: 4 kB / 0.6117 GB, free: 0.5938 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.1994, allocations: 79.28 kB / 0.6118 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.1994, allocations: 4 kB / 0.6118 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002183/0.1997, allocations: 12 kB / 0.6118 GB, free: 0.5 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.1998, allocations: 99.25 kB / 0.6119 GB, free: 404 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.2, allocations: 83.98 kB / 0.612 GB, free: 320 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2, allocations: 4.25 kB / 0.612 GB, free: 316 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.2001, allocations: 40.11 kB / 0.612 GB, free: 276 kB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2003, allocations: 4 kB / 0.612 GB, free: 272 kB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2013, allocations: 0.6111 MB / 0.6126 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.216e-05/0.2014, allocations: 79.31 kB / 0.6127 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.797e-05/0.2015, allocations: 28.7 kB / 0.6127 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.2015, allocations: 12.5 kB / 0.6128 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of SimCode: time 1.032e-06/0.2015, allocations: 0 / 0.6128 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of Templates: time 0.003789/0.2053, allocations: 0.6303 MB / 0.6134 GB, free: 14.9 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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: 5.909142908989452]