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.0008579/0.0008579, 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.0008708/0.0008708, 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.8711/0.8711, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.5582/0.5582, allocations: 88.07 MB / 348.8 MB, free: 14.37 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.904e-06/1.904e-06, allocations: 0 / 0.5235 GB, free: 3.598 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.657e-05, allocations: 10.22 kB / 0.5235 GB, free: 3.586 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001611/0.001638, allocations: 1.215 MB / 0.5247 GB, free: 2.363 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001709/0.001808, allocations: 27.95 kB / 0.5247 GB, free: 2.336 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.00184, allocations: 7.938 kB / 0.5247 GB, free: 2.328 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.335e-05/0.001923, allocations: 3.984 kB / 0.5247 GB, free: 2.324 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.001983, allocations: 0 / 0.5247 GB, free: 2.324 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.002146, allocations: 20.58 kB / 0.5247 GB, free: 2.305 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.002265, allocations: 75.8 kB / 0.5248 GB, free: 2.23 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.002307, allocations: 7.984 kB / 0.5248 GB, free: 2.223 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.00236, allocations: 27.97 kB / 0.5248 GB, free: 2.195 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.00242, allocations: 23.95 kB / 0.5248 GB, free: 2.172 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.002444, allocations: 8 kB / 0.5248 GB, free: 2.164 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.002455, allocations: 4 kB / 0.5249 GB, free: 2.16 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.002497, allocations: 19.92 kB / 0.5249 GB, free: 2.141 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.002529, allocations: 23.97 kB / 0.5249 GB, free: 2.117 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.031e-05/0.00261, allocations: 39.81 kB / 0.5249 GB, free: 2.078 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002612, allocations: 0 / 0.5249 GB, free: 2.078 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.002613, allocations: 3.938 kB / 0.5249 GB, free: 2.074 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.002618, allocations: 0 / 0.5249 GB, free: 2.074 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.0004131/0.003031, allocations: 302.2 kB / 0.5252 GB, free: 1.746 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.003066, allocations: 12.03 kB / 0.5252 GB, free: 1.734 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.003097, allocations: 0.9375 kB / 0.5252 GB, free: 1.734 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.00324, allocations: 121.7 kB / 0.5254 GB, free: 1.59 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.003249, allocations: 4.375 kB / 0.5254 GB, free: 1.586 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.003274, allocations: 12.33 kB / 0.5254 GB, free: 1.574 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.003397, allocations: 66.22 kB / 0.5254 GB, free: 1.504 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.00341, allocations: 4.188 kB / 0.5254 GB, free: 1.5 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.003421, allocations: 4.359 kB / 0.5254 GB, free: 1.496 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.003426, allocations: 384 / 0.5254 GB, free: 1.496 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.003487, allocations: 43.84 kB / 0.5255 GB, free: 1.453 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.003626, allocations: 125.3 kB / 0.5256 GB, free: 1.301 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.003728, allocations: 70.55 kB / 0.5257 GB, free: 1.223 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.003765, allocations: 32.83 kB / 0.5257 GB, free: 1.188 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.003777, allocations: 4 kB / 0.5257 GB, free: 1.184 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.003795, allocations: 30.56 kB / 0.5257 GB, free: 1.145 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.003796, allocations: 0 / 0.5257 GB, free: 1.145 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002069/0.004003, allocations: 121.8 kB / 0.5258 GB, free: 1.02 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.004031, allocations: 55.34 kB / 0.5259 GB, free: 0.9531 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.206e-05/0.004084, allocations: 101.8 kB / 0.526 GB, free: 0.8438 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.004095, allocations: 29.7 kB / 0.526 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.004121, allocations: 84.14 kB / 0.5261 GB, free: 0.7227 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.004158, allocations: 39.69 kB / 0.5261 GB, free: 0.6836 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.004192, allocations: 29.72 kB / 0.5262 GB, free: 0.6484 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.004268, allocations: 318.8 kB / 0.5265 GB, free: 336 kB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.004313, allocations: 39.97 kB / 0.5265 GB, free: 296 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.004376, allocations: 73.81 kB / 0.5266 GB, free: 208 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.004486, allocations: 120.2 kB / 0.5267 GB, free: 72 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.004489, allocations: 0 / 0.5267 GB, free: 72 kB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001577/0.004646, allocations: 149.8 kB / 0.5268 GB, free: 15.92 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.00466, allocations: 10.91 kB / 0.5269 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.004667, allocations: 4 kB / 0.5269 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.004677, allocations: 0 / 0.5269 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.004804, allocations: 39.92 kB / 0.5269 GB, free: 15.87 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.004813, allocations: 12 kB / 0.5269 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.004839, allocations: 3.938 kB / 0.5269 GB, free: 15.85 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.004846, allocations: 8.125 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 6.233e-05/0.004908, allocations: 121.8 kB / 0.527 GB, free: 15.71 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.004916, allocations: 3.953 kB / 0.527 GB, free: 15.71 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.004942, allocations: 12.12 kB / 0.527 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.004944, allocations: 7.938 kB / 0.5271 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.00495, allocations: 3.938 kB / 0.5271 GB, free: 15.69 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004952, allocations: 3.938 kB / 0.5271 GB, free: 15.68 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.76e-05/0.00503, allocations: 121.3 kB / 0.5272 GB, free: 15.54 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005031, allocations: 0 / 0.5272 GB, free: 15.54 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.005147, allocations: 31.98 kB / 0.5272 GB, free: 15.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005149, allocations: 7.984 kB / 0.5272 GB, free: 15.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.005159, allocations: 0 / 0.5272 GB, free: 15.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.00516, allocations: 4 kB / 0.5272 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005161, allocations: 0 / 0.5272 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.005326, allocations: 145 kB / 0.5274 GB, free: 15.33 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.005337, allocations: 11.95 kB / 0.5274 GB, free: 15.32 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.005352, allocations: 3.984 kB / 0.5274 GB, free: 15.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.781e-05/0.00537, allocations: 4 kB / 0.5274 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.872e-05/0.005388, allocations: 11.86 kB / 0.5274 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005392, allocations: 4 kB / 0.5274 GB, free: 15.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.005416, allocations: 83.28 kB / 0.5275 GB, free: 15.21 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/0.005416, allocations: 4 kB / 0.5275 GB, free: 15.21 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001316/0.005548, allocations: 12 kB / 0.5275 GB, free: 15.2 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 7.45e-05/0.005623, allocations: 103.2 kB / 0.5276 GB, free: 15.09 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.005746, allocations: 79.89 kB / 0.5277 GB, free: 15.01 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005747, allocations: 0 / 0.5277 GB, free: 15.01 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.00578, allocations: 31.92 kB / 0.5277 GB, free: 14.98 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.005928, allocations: 9.641 kB / 0.5277 GB, free: 14.97 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.006441, allocations: 472.4 kB / 0.5282 GB, free: 14.48 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.747e-05/0.006488, allocations: 75.58 kB / 0.5282 GB, free: 14.39 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.006533, allocations: 28.69 kB / 0.5283 GB, free: 14.36 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.006561, allocations: 12.5 kB / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of SimCode: time 6.51e-07/0.006562, allocations: 4 kB / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of Templates: time 0.002076/0.008638, allocations: 0.6493 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.5965927932411432]