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.001805/0.001805, allocations: 107.9 kB / 20.43 MB, free: 1.066 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.001939/0.001939, allocations: 214.9 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.801 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 / 434.5 MB, free: 0.6406 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.002325/0.002325, allocations: 67.91 kB / 0.6072 GB, free: 10.29 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2021, allocations: 85.87 MB / 0.691 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002923/0.205, allocations: 1.201 MB / 0.6922 GB, free: 2.996 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.2053, allocations: 43.88 kB / 0.6922 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2053, allocations: 0 / 0.6922 GB, free: 2.953 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.15e-05/0.2054, allocations: 8 kB / 0.6922 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.2055, allocations: 3.938 kB / 0.6922 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.2057, allocations: 15.97 kB / 0.6923 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.2059, allocations: 75.84 kB / 0.6923 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.2059, allocations: 4 kB / 0.6923 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.206, allocations: 27.91 kB / 0.6924 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.2061, allocations: 23.97 kB / 0.6924 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.2061, allocations: 4 kB / 0.6924 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.2061, allocations: 4 kB / 0.6924 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.2062, allocations: 15.92 kB / 0.6924 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.2062, allocations: 23.97 kB / 0.6924 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.782e-05/0.2063, allocations: 35.84 kB / 0.6925 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2063, allocations: 0 / 0.6925 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2063, allocations: 0 / 0.6925 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2063, allocations: 3.938 kB / 0.6925 GB, free: 2.711 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.0006427/0.207, allocations: 298.2 kB / 0.6927 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.207, allocations: 8.031 kB / 0.6928 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.2071, allocations: 8.938 kB / 0.6928 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.2073, allocations: 122.9 kB / 0.6929 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2073, allocations: 4.375 kB / 0.6929 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.2073, allocations: 12.33 kB / 0.6929 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2075, allocations: 70.2 kB / 0.693 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2075, allocations: 192 / 0.693 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2075, allocations: 7.938 kB / 0.693 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2076, allocations: 4 kB / 0.693 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.2076, allocations: 27.97 kB / 0.693 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.2079, allocations: 133.2 kB / 0.6931 GB, free: 1.938 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.208, allocations: 74.48 kB / 0.6932 GB, free: 1.855 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.2081, allocations: 32.84 kB / 0.6932 GB, free: 1.82 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.2081, allocations: 0 / 0.6932 GB, free: 1.82 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.2082, allocations: 34.56 kB / 0.6933 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.2082, allocations: 0 / 0.6933 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003296/0.2085, allocations: 121.5 kB / 0.6934 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.2085, allocations: 55.41 kB / 0.6934 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2087, allocations: 102.1 kB / 0.6935 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.2087, allocations: 29.64 kB / 0.6936 GB, free: 1.441 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.2087, allocations: 84.14 kB / 0.6936 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.2088, allocations: 35.73 kB / 0.6937 GB, free: 1.32 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.2089, allocations: 45.7 kB / 0.6937 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.209, allocations: 314.8 kB / 0.694 GB, free: 0.9531 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.2091, allocations: 39.91 kB / 0.6941 GB, free: 0.9141 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2092, allocations: 72.27 kB / 0.6941 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2094, allocations: 124.1 kB / 0.6942 GB, free: 0.6914 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2094, allocations: 0 / 0.6942 GB, free: 0.6914 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002471/0.2097, allocations: 153.5 kB / 0.6944 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2097, allocations: 4 kB / 0.6944 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2097, allocations: 3.938 kB / 0.6944 GB, free: 0.5273 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2097, allocations: 4 kB / 0.6944 GB, free: 0.5234 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.2099, allocations: 31.98 kB / 0.6944 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2099, allocations: 3.938 kB / 0.6944 GB, free: 500 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.21, allocations: 4 kB / 0.6944 GB, free: 496 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.21, allocations: 8 kB / 0.6944 GB, free: 488 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 0.0001186/0.2101, allocations: 117.8 kB / 0.6946 GB, free: 360 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2101, allocations: 12.08 kB / 0.6946 GB, free: 348 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.2101, allocations: 12 kB / 0.6946 GB, free: 332 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2101, allocations: 0 / 0.6946 GB, free: 332 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2102, allocations: 4 kB / 0.6946 GB, free: 328 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2102, allocations: 0 / 0.6946 GB, free: 328 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2103, allocations: 133.2 kB / 0.6947 GB, free: 164 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2103, allocations: 0 / 0.6947 GB, free: 164 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.2105, allocations: 27.92 kB / 0.6947 GB, free: 136 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.2105, allocations: 0 / 0.6947 GB, free: 136 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2105, allocations: 4 kB / 0.6947 GB, free: 132 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.2105, allocations: 3.938 kB / 0.6947 GB, free: 128 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2105, allocations: 4 kB / 0.6947 GB, free: 124 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2108, allocations: 149 kB / 0.6949 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.2108, allocations: 3.953 kB / 0.6949 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.2108, allocations: 8.125 kB / 0.6949 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.2109, allocations: 8 kB / 0.6949 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.2109, allocations: 7.969 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2109, allocations: 4 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.211, allocations: 75.28 kB / 0.695 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of sort global known variables: time 5e-08/0.211, allocations: 0 / 0.695 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002127/0.2112, allocations: 20 kB / 0.695 GB, free: 15.83 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.0001198/0.2113, allocations: 107.2 kB / 0.6951 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.2115, allocations: 87.95 kB / 0.6952 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.2115, allocations: 3.938 kB / 0.6952 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.2116, allocations: 35.92 kB / 0.6952 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.0001955/0.2118, allocations: 8 kB / 0.6952 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2128, allocations: 0.6197 MB / 0.6958 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.467e-05/0.2129, allocations: 75.33 kB / 0.6959 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.329e-05/0.213, allocations: 28.62 kB / 0.6959 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.213, allocations: 11.44 kB / 0.696 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of SimCode: time 6.21e-07/0.213, allocations: 0 / 0.696 GB, free: 14.8 MB / 0.5295 GB Notification: Performance of Templates: time 0.003814/0.2168, allocations: 0.6848 MB / 0.6966 GB, free: 14.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/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.024364471435547]