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.001408/0.001408, allocations: 107.9 kB / 20.44 MB, free: 1.188 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.002072/0.002072, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.184/1.184, allocations: 120.6 MB / 434.5 MB, free: 0.6523 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.002271/0.002271, allocations: 69.61 kB / 0.6072 GB, free: 10.26 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1835, allocations: 85.86 MB / 0.691 GB, free: 4.199 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002805/0.1863, allocations: 1.223 MB / 0.6922 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002172/0.1865, allocations: 31.95 kB / 0.6922 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.1865, allocations: 4 kB / 0.6922 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.059e-05/0.1866, allocations: 3.938 kB / 0.6922 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.1867, allocations: 11.92 kB / 0.6923 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.1869, allocations: 23.89 kB / 0.6923 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.187, allocations: 71.92 kB / 0.6923 GB, free: 2.824 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.1871, allocations: 4 kB / 0.6923 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.1871, allocations: 23.92 kB / 0.6924 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.1872, allocations: 27.95 kB / 0.6924 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1872, allocations: 7.938 kB / 0.6924 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.1873, allocations: 0 / 0.6924 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1873, allocations: 15.98 kB / 0.6924 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.1874, allocations: 19.92 kB / 0.6924 GB, free: 2.727 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1875, allocations: 39.81 kB / 0.6925 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1875, allocations: 0 / 0.6925 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1875, allocations: 0 / 0.6925 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.1875, allocations: 4 kB / 0.6925 GB, free: 2.684 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.0006008/0.1881, allocations: 294.3 kB / 0.6928 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1881, allocations: 8.031 kB / 0.6928 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1882, allocations: 8.922 kB / 0.6928 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1884, allocations: 115 kB / 0.6929 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.1884, allocations: 384 / 0.6929 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.1884, allocations: 20.31 kB / 0.6929 GB, free: 2.191 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1886, allocations: 78.16 kB / 0.693 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1886, allocations: 192 / 0.693 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1886, allocations: 11.92 kB / 0.693 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1886, allocations: 0 / 0.693 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1887, allocations: 27.97 kB / 0.693 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.1889, allocations: 133.2 kB / 0.6931 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.189, allocations: 62.55 kB / 0.6932 GB, free: 1.84 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1891, allocations: 32.84 kB / 0.6932 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1891, allocations: 0 / 0.6932 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1891, allocations: 46.66 kB / 0.6933 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.1891, allocations: 4 kB / 0.6933 GB, free: 1.746 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002808/0.1894, allocations: 117.5 kB / 0.6934 GB, free: 1.625 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1895, allocations: 51.41 kB / 0.6934 GB, free: 1.562 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.1896, allocations: 101.8 kB / 0.6935 GB, free: 1.453 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1896, allocations: 33.64 kB / 0.6936 GB, free: 1.414 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.1896, allocations: 84.14 kB / 0.6937 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.1897, allocations: 31.75 kB / 0.6937 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.1898, allocations: 33.72 kB / 0.6937 GB, free: 1.258 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1899, allocations: 322.8 kB / 0.694 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.19, allocations: 39.91 kB / 0.6941 GB, free: 0.8945 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.1901, allocations: 79.3 kB / 0.6941 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1902, allocations: 120.2 kB / 0.6943 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1902, allocations: 0 / 0.6943 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002222/0.1905, allocations: 145.8 kB / 0.6944 GB, free: 0.5234 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1905, allocations: 8 kB / 0.6944 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1905, allocations: 7.922 kB / 0.6944 GB, free: 0.5078 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.1905, allocations: 8.125 kB / 0.6944 GB, free: 0.5 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1907, allocations: 31.92 kB / 0.6944 GB, free: 480 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1907, allocations: 8.062 kB / 0.6945 GB, free: 472 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.1907, allocations: 4 kB / 0.6945 GB, free: 468 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1908, allocations: 8 kB / 0.6945 GB, free: 460 kB / 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.687e-05/0.1909, allocations: 117.8 kB / 0.6946 GB, free: 332 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.1909, allocations: 11.94 kB / 0.6946 GB, free: 320 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.1909, allocations: 12 kB / 0.6946 GB, free: 304 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1909, allocations: 0 / 0.6946 GB, free: 304 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1909, allocations: 0 / 0.6946 GB, free: 304 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1909, allocations: 4 kB / 0.6946 GB, free: 300 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1911, allocations: 125.2 kB / 0.6947 GB, free: 144 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1911, allocations: 0 / 0.6947 GB, free: 144 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.1912, allocations: 27.98 kB / 0.6947 GB, free: 116 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1912, allocations: 0 / 0.6947 GB, free: 116 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.1913, allocations: 7.984 kB / 0.6948 GB, free: 108 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1913, allocations: 7.875 kB / 0.6948 GB, free: 100 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1913, allocations: 0 / 0.6948 GB, free: 100 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1915, allocations: 153 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.1915, allocations: 3.953 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1916, allocations: 15.92 kB / 0.6949 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.1916, allocations: 8 kB / 0.6949 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1916, allocations: 7.984 kB / 0.6949 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1916, allocations: 0 / 0.6949 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.1917, allocations: 79.28 kB / 0.695 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.1917, allocations: 0 / 0.695 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002053/0.1919, allocations: 16 kB / 0.695 GB, free: 15.8 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.0001093/0.192, allocations: 99.56 kB / 0.6951 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1922, allocations: 83.89 kB / 0.6952 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1922, allocations: 256 / 0.6952 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.1923, allocations: 43.86 kB / 0.6953 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.1925, allocations: 4.609 kB / 0.6953 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.1934, allocations: 0.6185 MB / 0.6959 GB, free: 14.92 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.69e-05/0.1935, allocations: 83.33 kB / 0.6959 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.861e-05/0.1936, allocations: 24.64 kB / 0.696 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.1936, allocations: 15.42 kB / 0.696 GB, free: 14.78 MB / 0.5295 GB Notification: Performance of SimCode: time 3.6e-07/0.1936, allocations: 0 / 0.696 GB, free: 14.78 MB / 0.5295 GB Notification: Performance of Templates: time 0.003243/0.1968, allocations: 0.6734 MB / 0.6966 GB, free: 14.14 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: 6.507787890732288]