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.001673/0.001673, allocations: 96.41 kB / 21.18 MB, free: 0.6484 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.002075/0.002075, allocations: 213.1 kB / 24.48 MB, free: 3.926 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.485/1.485, allocations: 230.6 MB / 258.2 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.155/1.155, allocations: 120.6 MB / 435.2 MB, free: 0.6562 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.002068/0.002068, allocations: 68.16 kB / 0.6079 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1834, allocations: 85.86 MB / 0.6917 GB, free: 4.219 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002601/0.186, allocations: 1.219 MB / 0.6929 GB, free: 2.992 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.1862, allocations: 39.88 kB / 0.693 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.1863, allocations: 0 / 0.693 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.976e-05/0.1863, allocations: 0 / 0.693 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.1864, allocations: 15.92 kB / 0.693 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1866, allocations: 19.95 kB / 0.693 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1867, allocations: 75.86 kB / 0.6931 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.1868, allocations: 0 / 0.6931 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.1868, allocations: 27.92 kB / 0.6931 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.1869, allocations: 31.89 kB / 0.6931 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1869, allocations: 0 / 0.6931 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.1869, allocations: 4 kB / 0.6931 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.187, allocations: 19.92 kB / 0.6931 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.187, allocations: 19.92 kB / 0.6932 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.1871, allocations: 35.83 kB / 0.6932 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1871, allocations: 4 kB / 0.6932 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1871, allocations: 0 / 0.6932 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.1871, allocations: 0 / 0.6932 GB, free: 2.703 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.0005674/0.1877, allocations: 294.2 kB / 0.6935 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1877, allocations: 12.03 kB / 0.6935 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1878, allocations: 0.9375 kB / 0.6935 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.188, allocations: 126.9 kB / 0.6936 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.188, allocations: 4.375 kB / 0.6936 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.188, allocations: 16.33 kB / 0.6936 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1881, allocations: 62.22 kB / 0.6937 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1882, allocations: 4.188 kB / 0.6937 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1882, allocations: 3.938 kB / 0.6937 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1882, allocations: 0 / 0.6937 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1882, allocations: 31.97 kB / 0.6937 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.1884, allocations: 129.2 kB / 0.6939 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1886, allocations: 74.56 kB / 0.6939 GB, free: 1.859 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1886, allocations: 33 kB / 0.694 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1886, allocations: 7.984 kB / 0.694 GB, free: 1.816 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1887, allocations: 30.56 kB / 0.694 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1887, allocations: 0 / 0.694 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002586/0.1889, allocations: 125.5 kB / 0.6941 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.189, allocations: 51.41 kB / 0.6942 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.1891, allocations: 101.8 kB / 0.6943 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1891, allocations: 25.7 kB / 0.6943 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1891, allocations: 88.14 kB / 0.6944 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.1892, allocations: 31.75 kB / 0.6944 GB, free: 1.324 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1892, allocations: 37.7 kB / 0.6944 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1894, allocations: 326.8 kB / 0.6948 GB, free: 0.9531 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.1894, allocations: 39.92 kB / 0.6948 GB, free: 0.9141 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.1895, allocations: 79.48 kB / 0.6949 GB, free: 0.8242 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1897, allocations: 112.2 kB / 0.695 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1897, allocations: 0 / 0.695 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002174/0.1899, allocations: 153.8 kB / 0.6951 GB, free: 0.543 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1899, allocations: 4.125 kB / 0.6951 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1899, allocations: 11.94 kB / 0.6951 GB, free: 0.5273 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.19, allocations: 0 / 0.6951 GB, free: 0.5273 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1901, allocations: 39.92 kB / 0.6952 GB, free: 500 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1901, allocations: 7.938 kB / 0.6952 GB, free: 492 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1902, allocations: 7.984 kB / 0.6952 GB, free: 484 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1902, allocations: 4 kB / 0.6952 GB, free: 480 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.452e-05/0.1903, allocations: 113.8 kB / 0.6953 GB, free: 356 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.1903, allocations: 3.953 kB / 0.6953 GB, free: 352 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.1903, allocations: 20 kB / 0.6953 GB, free: 328 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1903, allocations: 4 kB / 0.6953 GB, free: 324 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1903, allocations: 3.984 kB / 0.6953 GB, free: 320 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1903, allocations: 0 / 0.6953 GB, free: 320 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1905, allocations: 125.2 kB / 0.6954 GB, free: 164 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1905, allocations: 4 kB / 0.6955 GB, free: 160 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.1906, allocations: 31.92 kB / 0.6955 GB, free: 128 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1907, allocations: 0 / 0.6955 GB, free: 128 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1907, allocations: 7.984 kB / 0.6955 GB, free: 120 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1907, allocations: 3.938 kB / 0.6955 GB, free: 116 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1907, allocations: 0 / 0.6955 GB, free: 116 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.191, allocations: 145.1 kB / 0.6956 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.191, allocations: 11.95 kB / 0.6956 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.191, allocations: 7.938 kB / 0.6957 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.191, allocations: 3.984 kB / 0.6957 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1911, allocations: 8 kB / 0.6957 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1911, allocations: 3.984 kB / 0.6957 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.1911, allocations: 79.28 kB / 0.6957 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1911, allocations: 3.938 kB / 0.6957 GB, free: 15.83 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0001982/0.1913, allocations: 16 kB / 0.6958 GB, free: 15.82 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.0001179/0.1914, allocations: 103.1 kB / 0.6959 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1916, allocations: 83.89 kB / 0.6959 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1916, allocations: 0 / 0.6959 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.1917, allocations: 39.97 kB / 0.696 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.1919, allocations: 0 / 0.696 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1929, allocations: 0.6597 MB / 0.6966 GB, free: 14.9 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.193, allocations: 79.33 kB / 0.6967 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.193, allocations: 11.44 kB / 0.6967 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of SimCode: time 2.91e-07/0.193, allocations: 0 / 0.6967 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of Templates: time 0.002724/0.1957, allocations: 1.01 MB / 0.6977 GB, free: 13.79 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: 8.59655754826963]