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.001325/0.001325, allocations: 101.8 kB / 21.21 MB, free: 0.6328 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.001452/0.001452, allocations: 211 kB / 24.51 MB, free: 3.914 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.099/1.099, allocations: 120.6 MB / 435.3 MB, free: 0.6719 MB / 334.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.001939/0.001939, allocations: 75.84 kB / 0.6079 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1877, allocations: 85.86 MB / 0.6918 GB, free: 4.383 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002292/0.19, allocations: 1.215 MB / 0.693 GB, free: 3.16 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00019/0.1902, allocations: 39.88 kB / 0.693 GB, free: 3.121 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.1903, allocations: 0 / 0.693 GB, free: 3.121 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.401e-05/0.1903, allocations: 3.938 kB / 0.693 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.1904, allocations: 7.938 kB / 0.693 GB, free: 3.109 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.1905, allocations: 19.95 kB / 0.693 GB, free: 3.09 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1907, allocations: 75.84 kB / 0.6931 GB, free: 3.016 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.1907, allocations: 4 kB / 0.6931 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.1908, allocations: 27.98 kB / 0.6931 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.1909, allocations: 27.89 kB / 0.6932 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1909, allocations: 7.938 kB / 0.6932 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.1909, allocations: 4 kB / 0.6932 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.191, allocations: 15.98 kB / 0.6932 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.191, allocations: 19.92 kB / 0.6932 GB, free: 2.91 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.542e-05/0.1911, allocations: 35.83 kB / 0.6932 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1911, allocations: 0 / 0.6932 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1911, allocations: 0 / 0.6932 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1911, allocations: 0 / 0.6932 GB, free: 2.875 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.0005403/0.1916, allocations: 298.2 kB / 0.6935 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1917, allocations: 12.03 kB / 0.6935 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.1917, allocations: 0.9375 kB / 0.6935 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1919, allocations: 114.9 kB / 0.6936 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1919, allocations: 8.375 kB / 0.6937 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.1919, allocations: 12.33 kB / 0.6937 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.192, allocations: 66.22 kB / 0.6937 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1921, allocations: 4.188 kB / 0.6937 GB, free: 2.309 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1921, allocations: 7.938 kB / 0.6937 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1921, allocations: 3.938 kB / 0.6937 GB, free: 2.297 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.1922, allocations: 31.97 kB / 0.6938 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.1923, allocations: 133.2 kB / 0.6939 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1925, allocations: 74.48 kB / 0.694 GB, free: 2.023 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.1925, allocations: 32.84 kB / 0.694 GB, free: 1.988 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1926, allocations: 0 / 0.694 GB, free: 1.988 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1926, allocations: 34.73 kB / 0.694 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.1926, allocations: 0 / 0.694 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.000255/0.1928, allocations: 125.5 kB / 0.6942 GB, free: 1.816 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1929, allocations: 55.41 kB / 0.6942 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.193, allocations: 101.8 kB / 0.6943 GB, free: 1.641 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.193, allocations: 25.7 kB / 0.6943 GB, free: 1.609 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.193, allocations: 88.14 kB / 0.6944 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.1931, allocations: 31.75 kB / 0.6944 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.1931, allocations: 37.7 kB / 0.6945 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1933, allocations: 318.8 kB / 0.6948 GB, free: 1.125 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.1933, allocations: 39.91 kB / 0.6948 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1934, allocations: 75.08 kB / 0.6949 GB, free: 1 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1936, allocations: 124.1 kB / 0.695 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1936, allocations: 0 / 0.695 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000227/0.1938, allocations: 145.5 kB / 0.6952 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1939, allocations: 4 kB / 0.6952 GB, free: 0.7109 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1939, allocations: 8.516 kB / 0.6952 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1939, allocations: 0 / 0.6952 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.194, allocations: 39.92 kB / 0.6952 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.1941, allocations: 8.125 kB / 0.6952 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.1941, allocations: 7.984 kB / 0.6952 GB, free: 0.6484 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1941, allocations: 4 kB / 0.6952 GB, free: 0.6445 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 9.769e-05/0.1942, allocations: 121.8 kB / 0.6953 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.1942, allocations: 3.953 kB / 0.6953 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.1943, allocations: 20 kB / 0.6954 GB, free: 500 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1943, allocations: 0 / 0.6954 GB, free: 500 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1943, allocations: 0 / 0.6954 GB, free: 500 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1943, allocations: 0 / 0.6954 GB, free: 500 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.1944, allocations: 129.2 kB / 0.6955 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1944, allocations: 0 / 0.6955 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.1946, allocations: 31.98 kB / 0.6955 GB, free: 308 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1946, allocations: 0 / 0.6955 GB, free: 308 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1946, allocations: 4 kB / 0.6955 GB, free: 304 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1946, allocations: 11.86 kB / 0.6955 GB, free: 292 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1946, allocations: 0 / 0.6955 GB, free: 292 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1949, allocations: 153 kB / 0.6957 GB, free: 120 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.1949, allocations: 7.953 kB / 0.6957 GB, free: 112 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1949, allocations: 7.938 kB / 0.6957 GB, free: 104 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.1949, allocations: 0 / 0.6957 GB, free: 104 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.195, allocations: 11.92 kB / 0.6957 GB, free: 92 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.195, allocations: 12 kB / 0.6957 GB, free: 80 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.195, allocations: 83.33 kB / 0.6958 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 0.6958 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0001991/0.1952, allocations: 15.94 kB / 0.6958 GB, free: 15.98 MB / 0.5295 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.0001074/0.1953, allocations: 95.25 kB / 0.6959 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1955, allocations: 79.89 kB / 0.696 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1955, allocations: 0 / 0.696 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.694e-05/0.1956, allocations: 39.92 kB / 0.696 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.1958, allocations: 4.859 kB / 0.696 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.1967, allocations: 0.6187 MB / 0.6966 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.1968, allocations: 83.3 kB / 0.6967 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.007e-05/0.1968, allocations: 28.64 kB / 0.6967 GB, free: 14.98 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.1969, allocations: 11.44 kB / 0.6967 GB, free: 14.97 MB / 0.5295 GB Notification: Performance of SimCode: time 2.81e-07/0.1969, allocations: 0 / 0.6967 GB, free: 14.97 MB / 0.5295 GB Notification: Performance of Templates: time 0.003184/0.2001, allocations: 0.7072 MB / 0.6974 GB, free: 14.3 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 -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.822671822970733]