Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001626/0.001626, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001757/0.001757, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.055/1.055, allocations: 120.6 MB / 435.2 MB, free: 0.6367 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_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_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.00204/0.00204, allocations: 77.61 kB / 0.6079 GB, free: 10.25 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1667, allocations: 85.86 MB / 0.6917 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002391/0.1691, allocations: 1.214 MB / 0.6929 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001974/0.1693, allocations: 35.89 kB / 0.693 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1693, allocations: 4 kB / 0.693 GB, free: 2.922 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.685e-05/0.1694, allocations: 4 kB / 0.693 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.1695, allocations: 11.86 kB / 0.693 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.1696, allocations: 19.95 kB / 0.693 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1698, allocations: 67.88 kB / 0.6931 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1698, allocations: 3.984 kB / 0.6931 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.1699, allocations: 23.98 kB / 0.6931 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1699, allocations: 23.97 kB / 0.6931 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.17, allocations: 3.938 kB / 0.6931 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.17, allocations: 4 kB / 0.6931 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.17, allocations: 27.97 kB / 0.6932 GB, free: 2.734 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.1701, allocations: 15.92 kB / 0.6932 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.783e-05/0.1701, allocations: 39.83 kB / 0.6932 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1702, allocations: 3.984 kB / 0.6932 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1702, allocations: 0 / 0.6932 GB, free: 2.676 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1702, allocations: 0 / 0.6932 GB, free: 2.676 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.0005083/0.1707, allocations: 290.3 kB / 0.6935 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1707, allocations: 12.03 kB / 0.6935 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.1707, allocations: 8.938 kB / 0.6935 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1709, allocations: 118.9 kB / 0.6936 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1709, allocations: 8.359 kB / 0.6936 GB, free: 2.191 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1709, allocations: 12.33 kB / 0.6936 GB, free: 2.18 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1711, allocations: 66.22 kB / 0.6937 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1711, allocations: 4.188 kB / 0.6937 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1711, allocations: 7.922 kB / 0.6937 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1711, allocations: 0 / 0.6937 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.1712, allocations: 27.97 kB / 0.6937 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.1714, allocations: 129.2 kB / 0.6939 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1715, allocations: 78.48 kB / 0.6939 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1716, allocations: 32.84 kB / 0.694 GB, free: 1.793 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1716, allocations: 0 / 0.694 GB, free: 1.793 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1716, allocations: 38.5 kB / 0.694 GB, free: 1.746 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.1716, allocations: 0 / 0.694 GB, free: 1.746 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002492/0.1719, allocations: 121.8 kB / 0.6941 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1719, allocations: 55.41 kB / 0.6942 GB, free: 1.555 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.172, allocations: 93.86 kB / 0.6943 GB, free: 1.453 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.172, allocations: 33.7 kB / 0.6943 GB, free: 1.414 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.172, allocations: 88.06 kB / 0.6944 GB, free: 1.324 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.1721, allocations: 31.77 kB / 0.6944 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.1721, allocations: 41.7 kB / 0.6944 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1723, allocations: 326.8 kB / 0.6948 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.1723, allocations: 35.92 kB / 0.6948 GB, free: 0.8828 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.016e-05/0.1724, allocations: 76.25 kB / 0.6949 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1726, allocations: 112.5 kB / 0.695 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1726, allocations: 0 / 0.695 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002151/0.1728, allocations: 153.5 kB / 0.6951 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1728, allocations: 8 kB / 0.6951 GB, free: 0.5039 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1728, allocations: 3.938 kB / 0.6951 GB, free: 0.5 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1729, allocations: 0 / 0.6951 GB, free: 0.5 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.173, allocations: 31.98 kB / 0.6952 GB, free: 480 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.173, allocations: 7.984 kB / 0.6952 GB, free: 472 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1731, allocations: 8 kB / 0.6952 GB, free: 464 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1731, allocations: 4 kB / 0.6952 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.177e-05/0.1732, allocations: 117.8 kB / 0.6953 GB, free: 332 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1732, allocations: 8.078 kB / 0.6953 GB, free: 324 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.1732, allocations: 23.98 kB / 0.6953 GB, free: 296 kB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1732, allocations: 0 / 0.6953 GB, free: 296 kB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1732, allocations: 0 / 0.6953 GB, free: 296 kB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1732, allocations: 0 / 0.6953 GB, free: 296 kB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1734, allocations: 125.2 kB / 0.6954 GB, free: 140 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1734, allocations: 0 / 0.6954 GB, free: 140 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.1736, allocations: 31.98 kB / 0.6955 GB, free: 108 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1736, allocations: 0 / 0.6955 GB, free: 108 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1736, allocations: 7.984 kB / 0.6955 GB, free: 100 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1736, allocations: 7.875 kB / 0.6955 GB, free: 92 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1736, allocations: 7.938 kB / 0.6955 GB, free: 84 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1738, allocations: 141 kB / 0.6956 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.1738, allocations: 11.95 kB / 0.6956 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1739, allocations: 11.92 kB / 0.6957 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/0.1739, allocations: 0 / 0.6957 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.1739, allocations: 4.188 kB / 0.6957 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1739, allocations: 3.984 kB / 0.6957 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.174, allocations: 87.27 kB / 0.6957 GB, free: 15.81 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.174, allocations: 0 / 0.6957 GB, free: 15.81 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002051/0.1742, allocations: 12 kB / 0.6958 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.0001054/0.1743, allocations: 107.2 kB / 0.6959 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1745, allocations: 83.83 kB / 0.6959 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1745, allocations: 0 / 0.6959 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.1745, allocations: 35.97 kB / 0.696 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.0001714/0.1747, allocations: 4 kB / 0.696 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009678/0.1756, allocations: 0.6479 MB / 0.6966 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.1757, allocations: 79.33 kB / 0.6967 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1758, allocations: 11.44 kB / 0.6967 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of SimCode: time 3.01e-07/0.1758, allocations: 0 / 0.6967 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of Templates: time 0.00286/0.1786, allocations: 1.011 MB / 0.6977 GB, free: 13.77 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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.493924037087709]