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.0009114/0.0009114, allocations: 79.75 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000894/0.000894, allocations: 170.8 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9344/0.9344, allocations: 177.2 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7315/0.7315, allocations: 88.05 MB / 348.7 MB, free: 14.36 MB / 330.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5235 GB, free: 3.582 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.697e-05, allocations: 2.844 kB / 0.5235 GB, free: 3.578 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001644/0.001671, allocations: 1.216 MB / 0.5246 GB, free: 2.355 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001945/0.001865, allocations: 35.88 kB / 0.5247 GB, free: 2.32 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.001903, allocations: 0 / 0.5247 GB, free: 2.32 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.902e-05/0.001992, allocations: 0 / 0.5247 GB, free: 2.32 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.002058, allocations: 4 kB / 0.5247 GB, free: 2.316 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.002239, allocations: 28.5 kB / 0.5247 GB, free: 2.289 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.002371, allocations: 75.8 kB / 0.5248 GB, free: 2.215 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.002417, allocations: 0 / 0.5248 GB, free: 2.215 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.002475, allocations: 31.95 kB / 0.5248 GB, free: 2.184 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.002542, allocations: 27.97 kB / 0.5248 GB, free: 2.156 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.002567, allocations: 4 kB / 0.5248 GB, free: 2.152 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.002579, allocations: 0 / 0.5248 GB, free: 2.152 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.002626, allocations: 23.91 kB / 0.5249 GB, free: 2.129 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.002659, allocations: 16 kB / 0.5249 GB, free: 2.113 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.347e-05/0.002743, allocations: 35.88 kB / 0.5249 GB, free: 2.078 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.002746, allocations: 4 kB / 0.5249 GB, free: 2.074 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.213e-06/0.002747, allocations: 3.938 kB / 0.5249 GB, free: 2.07 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.002751, allocations: 4 kB / 0.5249 GB, free: 2.066 MB / 442.8 MB 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.0004297/0.003181, allocations: 298.2 kB / 0.5252 GB, free: 1.742 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.00322, allocations: 8.031 kB / 0.5252 GB, free: 1.734 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.003254, allocations: 8.938 kB / 0.5252 GB, free: 1.727 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.003388, allocations: 113.8 kB / 0.5253 GB, free: 1.59 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.003398, allocations: 4.375 kB / 0.5253 GB, free: 1.586 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.003426, allocations: 12.33 kB / 0.5254 GB, free: 1.574 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.003555, allocations: 70.16 kB / 0.5254 GB, free: 1.5 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.003566, allocations: 192 / 0.5254 GB, free: 1.5 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.00358, allocations: 12.36 kB / 0.5254 GB, free: 1.488 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.003586, allocations: 4.375 kB / 0.5254 GB, free: 1.484 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.003645, allocations: 31.91 kB / 0.5255 GB, free: 1.453 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.003799, allocations: 137.2 kB / 0.5256 GB, free: 1.289 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.003903, allocations: 66.55 kB / 0.5257 GB, free: 1.215 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.003944, allocations: 32.84 kB / 0.5257 GB, free: 1.18 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.003955, allocations: 0 / 0.5257 GB, free: 1.18 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.003978, allocations: 38.5 kB / 0.5257 GB, free: 1.133 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 5.21e-07/0.003979, allocations: 0 / 0.5257 GB, free: 1.133 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002017/0.00418, allocations: 109.6 kB / 0.5258 GB, free: 1.02 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.004215, allocations: 63.33 kB / 0.5259 GB, free: 0.9453 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.00427, allocations: 101.9 kB / 0.526 GB, free: 0.8359 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.004282, allocations: 25.7 kB / 0.526 GB, free: 0.8047 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.004311, allocations: 84.14 kB / 0.5261 GB, free: 0.7188 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.004351, allocations: 35.92 kB / 0.5261 GB, free: 0.6836 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.004388, allocations: 33.7 kB / 0.5262 GB, free: 0.6445 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.004467, allocations: 318.8 kB / 0.5265 GB, free: 332 kB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.004509, allocations: 35.97 kB / 0.5265 GB, free: 296 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.004574, allocations: 85.16 kB / 0.5266 GB, free: 196 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.004686, allocations: 120.2 kB / 0.5267 GB, free: 60 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.004689, allocations: 0 / 0.5267 GB, free: 60 kB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001541/0.004843, allocations: 141.8 kB / 0.5268 GB, free: 15.91 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.004856, allocations: 7.938 kB / 0.5268 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.004861, allocations: 0 / 0.5268 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.004874, allocations: 7.938 kB / 0.5269 GB, free: 15.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.005003, allocations: 35.98 kB / 0.5269 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.00501, allocations: 8 kB / 0.5269 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.005036, allocations: 12.11 kB / 0.5269 GB, free: 15.84 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.005044, allocations: 4 kB / 0.5269 GB, free: 15.84 MB / 458.8 MB 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 5.957e-05/0.005103, allocations: 121.7 kB / 0.527 GB, free: 15.71 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/0.005112, allocations: 11.95 kB / 0.527 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.005136, allocations: 8.125 kB / 0.527 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.005138, allocations: 3.938 kB / 0.527 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.005143, allocations: 7.938 kB / 0.5271 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005146, allocations: 3.984 kB / 0.5271 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.03e-05/0.005227, allocations: 125.3 kB / 0.5272 GB, free: 15.52 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005228, allocations: 0 / 0.5272 GB, free: 15.52 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.005335, allocations: 31.98 kB / 0.5272 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005336, allocations: 0 / 0.5272 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.005348, allocations: 4 kB / 0.5272 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005351, allocations: 3.984 kB / 0.5272 GB, free: 15.48 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005351, allocations: 0 / 0.5272 GB, free: 15.48 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.005514, allocations: 152.9 kB / 0.5274 GB, free: 15.32 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.00552, allocations: 3.953 kB / 0.5274 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.005537, allocations: 4 kB / 0.5274 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.005557, allocations: 7.984 kB / 0.5274 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.005573, allocations: 3.938 kB / 0.5274 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.005577, allocations: 4 kB / 0.5274 GB, free: 15.29 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.477e-05/0.005601, allocations: 87.27 kB / 0.5275 GB, free: 15.21 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005602, allocations: 0 / 0.5275 GB, free: 15.21 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001312/0.005733, allocations: 20 kB / 0.5275 GB, free: 15.19 MB / 458.8 MB 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 6.601e-05/0.005799, allocations: 91.25 kB / 0.5276 GB, free: 15.09 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.005919, allocations: 83.89 kB / 0.5277 GB, free: 15.01 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00592, allocations: 0 / 0.5277 GB, free: 15.01 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.005953, allocations: 39.91 kB / 0.5277 GB, free: 14.97 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.006086, allocations: 5.891 kB / 0.5277 GB, free: 14.96 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.006668, allocations: 472.1 kB / 0.5281 GB, free: 14.48 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.006716, allocations: 75.58 kB / 0.5282 GB, free: 14.38 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 4.108e-05/0.006757, allocations: 24.7 kB / 0.5282 GB, free: 14.36 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.006783, allocations: 16.5 kB / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of SimCode: time 4.21e-07/0.006783, allocations: 0 / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of Templates: time 0.002021/0.008804, allocations: 0.6553 MB / 0.5289 GB, free: 13.73 MB / 458.8 MB " [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: 3.8891872707754374]