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.001371/0.001371, 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.001715/0.001715, allocations: 207.4 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.065/1.065, allocations: 120.6 MB / 434.5 MB, free: 0.7773 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.001959/0.001959, allocations: 67.91 kB / 0.6072 GB, free: 10.3 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1681, allocations: 85.87 MB / 0.691 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002331/0.1705, allocations: 1.214 MB / 0.6922 GB, free: 2.996 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.1706, allocations: 35.89 kB / 0.6922 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.1707, allocations: 0 / 0.6922 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.884e-05/0.1708, allocations: 3.984 kB / 0.6922 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.1708, allocations: 7.938 kB / 0.6922 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.171, allocations: 15.97 kB / 0.6923 GB, free: 2.934 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1711, allocations: 75.8 kB / 0.6923 GB, free: 2.859 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1712, allocations: 3.984 kB / 0.6923 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.1712, allocations: 27.98 kB / 0.6924 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.1713, allocations: 19.97 kB / 0.6924 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1713, allocations: 4 kB / 0.6924 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.1713, allocations: 4 kB / 0.6924 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.1714, allocations: 27.89 kB / 0.6924 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.1714, allocations: 15.94 kB / 0.6924 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.397e-05/0.1715, allocations: 39.83 kB / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1715, allocations: 0 / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1715, allocations: 0 / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1715, allocations: 0 / 0.6925 GB, free: 2.719 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.0005369/0.172, allocations: 298.2 kB / 0.6928 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1721, allocations: 12.03 kB / 0.6928 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.1721, allocations: 0.9375 kB / 0.6928 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1723, allocations: 126.8 kB / 0.6929 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1723, allocations: 8.375 kB / 0.6929 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1723, allocations: 8.328 kB / 0.6929 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1725, allocations: 70.22 kB / 0.693 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1725, allocations: 192 / 0.693 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1725, allocations: 11.94 kB / 0.693 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1725, allocations: 0 / 0.693 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.1726, allocations: 27.97 kB / 0.693 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1728, allocations: 133.2 kB / 0.6931 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1729, allocations: 78.45 kB / 0.6932 GB, free: 1.859 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.173, allocations: 28.84 kB / 0.6932 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.173, allocations: 4 kB / 0.6932 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.173, allocations: 34.56 kB / 0.6933 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.173, allocations: 0 / 0.6933 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002627/0.1733, allocations: 125.6 kB / 0.6934 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1733, allocations: 51.41 kB / 0.6934 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.1734, allocations: 105.8 kB / 0.6935 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1734, allocations: 29.7 kB / 0.6936 GB, free: 1.441 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.1735, allocations: 84.14 kB / 0.6937 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.1735, allocations: 31.75 kB / 0.6937 GB, free: 1.324 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.1736, allocations: 41.7 kB / 0.6937 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1737, allocations: 314.8 kB / 0.694 GB, free: 0.9609 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.1738, allocations: 43.91 kB / 0.6941 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.1739, allocations: 68.27 kB / 0.6941 GB, free: 0.8359 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1741, allocations: 120.2 kB / 0.6942 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1741, allocations: 0 / 0.6942 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002292/0.1743, allocations: 149.5 kB / 0.6944 GB, free: 0.5508 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1743, allocations: 4 kB / 0.6944 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1743, allocations: 7.938 kB / 0.6944 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1743, allocations: 0 / 0.6944 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.1745, allocations: 31.98 kB / 0.6944 GB, free: 0.5078 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1745, allocations: 3.938 kB / 0.6944 GB, free: 0.5039 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1745, allocations: 12.12 kB / 0.6944 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1746, allocations: 4 kB / 0.6944 GB, free: 500 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.581e-05/0.1747, allocations: 121.8 kB / 0.6946 GB, free: 368 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.1747, allocations: 4.141 kB / 0.6946 GB, free: 364 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.1747, allocations: 19.98 kB / 0.6946 GB, free: 340 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1747, allocations: 4 kB / 0.6946 GB, free: 336 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1747, allocations: 0 / 0.6946 GB, free: 336 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1747, allocations: 0 / 0.6946 GB, free: 336 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1749, allocations: 125.2 kB / 0.6947 GB, free: 180 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1749, allocations: 3.984 kB / 0.6947 GB, free: 176 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.175, allocations: 43.86 kB / 0.6948 GB, free: 132 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.175, allocations: 0 / 0.6948 GB, free: 132 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1751, allocations: 0 / 0.6948 GB, free: 132 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1751, allocations: 7.938 kB / 0.6948 GB, free: 124 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1751, allocations: 0 / 0.6948 GB, free: 124 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1753, allocations: 141.1 kB / 0.6949 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.1753, allocations: 11.94 kB / 0.6949 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1753, allocations: 7.938 kB / 0.6949 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.1754, allocations: 4 kB / 0.6949 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.1754, allocations: 3.984 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1754, allocations: 8 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.1755, allocations: 83.28 kB / 0.695 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1755, allocations: 0 / 0.695 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002019/0.1757, allocations: 16 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.0001128/0.1758, allocations: 107.2 kB / 0.6951 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.176, allocations: 79.88 kB / 0.6952 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.176, allocations: 0 / 0.6952 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.176, allocations: 32.77 kB / 0.6952 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.1762, allocations: 9.062 kB / 0.6952 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/0.1771, allocations: 0.6225 MB / 0.6959 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.072e-05/0.1772, allocations: 75.33 kB / 0.6959 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.093e-05/0.1773, allocations: 32.62 kB / 0.696 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.1773, allocations: 11.44 kB / 0.696 GB, free: 14.81 MB / 0.5295 GB Notification: Performance of SimCode: time 2.71e-07/0.1773, allocations: 0 / 0.696 GB, free: 14.81 MB / 0.5295 GB Notification: Performance of Templates: time 0.003003/0.1803, allocations: 0.6781 MB / 0.6966 GB, free: 14.18 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.7785816001705825]