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.001268/0.001268, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001796/0.003064, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007544/0.0007544, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000955/0.001709, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9078/0.9078, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0885/0.9963, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.6777/0.6777, allocations: 88.07 MB / 332.2 MB, free: 14.11 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05215/0.7299, allocations: 32.93 MB / 365.2 MB, free: 13.38 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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="time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 366.3 MB, free: 12.22 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.355e-05, allocations: 6.969 kB / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001644/0.001668, allocations: 1.308 MB / 367.7 MB, free: 10.89 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 6.512e-05/0.001733, allocations: 27.89 kB / 367.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.001754, allocations: 0 / 367.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.001779, allocations: 0 / 367.7 MB, free: 10.86 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.001825, allocations: 19.86 kB / 367.7 MB, free: 10.84 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.001928, allocations: 11.97 kB / 367.7 MB, free: 10.83 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.002038, allocations: 79.86 kB / 367.8 MB, free: 10.75 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.00207, allocations: 4 kB / 367.8 MB, free: 10.75 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.002132, allocations: 35.89 kB / 367.8 MB, free: 10.71 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.002183, allocations: 23.97 kB / 367.9 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.002203, allocations: 4 kB / 367.9 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.002213, allocations: 4 kB / 367.9 MB, free: 10.68 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.002246, allocations: 12 kB / 367.9 MB, free: 10.67 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.002267, allocations: 11.94 kB / 367.9 MB, free: 10.66 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 6.739e-05/0.002335, allocations: 35.89 kB / 367.9 MB, free: 10.62 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.002344, allocations: 0 / 367.9 MB, free: 10.62 MB / 362.8 MB Notification: Performance of FrontEnd: time 4.3e-07/0.002344, allocations: 0 / 367.9 MB, free: 10.62 MB / 362.8 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.002351, allocations: 4 kB / 367.9 MB, free: 10.62 MB / 362.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.0003075/0.002659, allocations: 265.2 kB / 368.2 MB, free: 10.34 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.002687, allocations: 11.98 kB / 368.2 MB, free: 10.32 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.002712, allocations: 8.922 kB / 368.2 MB, free: 10.32 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.761e-05/0.002799, allocations: 125.7 kB / 368.3 MB, free: 10.17 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-06/0.002807, allocations: 8.375 kB / 368.3 MB, free: 10.16 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.002831, allocations: 12.36 kB / 368.4 MB, free: 10.15 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.232e-05/0.002903, allocations: 50.22 kB / 368.4 MB, free: 10.09 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.00291, allocations: 4.188 kB / 368.4 MB, free: 10.09 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.002918, allocations: 4.375 kB / 368.4 MB, free: 10.09 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.002922, allocations: 384 / 368.4 MB, free: 10.09 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.002952, allocations: 19.92 kB / 368.4 MB, free: 10.07 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.296e-05/0.003045, allocations: 83.75 kB / 368.5 MB, free: 9.969 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.00311, allocations: 50.56 kB / 368.6 MB, free: 9.91 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.003127, allocations: 12.86 kB / 368.6 MB, free: 9.895 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.003136, allocations: 4 kB / 368.6 MB, free: 9.891 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.003152, allocations: 30.56 kB / 368.6 MB, free: 9.852 MB / 362.8 MB Notification: Performance of pre-optimization done (n=8): time 6.31e-07/0.003153, allocations: 4 kB / 368.6 MB, free: 9.848 MB / 362.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001011/0.003254, allocations: 69.67 kB / 368.7 MB, free: 9.773 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.003278, allocations: 55.34 kB / 368.7 MB, free: 9.707 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.003322, allocations: 102.9 kB / 368.8 MB, free: 9.594 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.003334, allocations: 25.7 kB / 368.9 MB, free: 9.562 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.003353, allocations: 92.12 kB / 369 MB, free: 9.469 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.003384, allocations: 31.75 kB / 369 MB, free: 9.438 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.003415, allocations: 33.62 kB / 369 MB, free: 9.398 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.003489, allocations: 326.8 kB / 369.3 MB, free: 9.07 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.003502, allocations: 8 kB / 369.3 MB, free: 9.062 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.003534, allocations: 54.38 kB / 369.4 MB, free: 8.996 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.345e-05/0.003598, allocations: 75.02 kB / 369.5 MB, free: 8.906 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003599, allocations: 0 / 369.5 MB, free: 8.906 MB / 362.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.547e-05/0.003675, allocations: 85.55 kB / 369.6 MB, free: 8.816 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.003684, allocations: 7.938 kB / 369.6 MB, free: 8.809 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.003689, allocations: 4 kB / 369.6 MB, free: 8.805 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.003699, allocations: 4.125 kB / 369.6 MB, free: 8.801 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.003856, allocations: 46.72 kB / 369.6 MB, free: 8.758 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.003859, allocations: 3.938 kB / 369.6 MB, free: 8.754 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.003882, allocations: 11.94 kB / 369.6 MB, free: 8.742 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.003888, allocations: 4 kB / 369.6 MB, free: 8.738 MB / 362.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 4.858e-05/0.003936, allocations: 116.7 kB / 369.7 MB, free: 8.613 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.003944, allocations: 4 kB / 369.7 MB, free: 8.609 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.003969, allocations: 8.125 kB / 369.8 MB, free: 8.605 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.003971, allocations: 4 kB / 369.8 MB, free: 8.602 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.003972, allocations: 4.188 kB / 369.8 MB, free: 8.598 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.003976, allocations: 7.938 kB / 369.8 MB, free: 8.59 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.227e-05/0.004039, allocations: 93.75 kB / 369.9 MB, free: 8.48 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004039, allocations: 0 / 369.9 MB, free: 8.48 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.004161, allocations: 43.91 kB / 369.9 MB, free: 8.438 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-06/0.004166, allocations: 0 / 369.9 MB, free: 8.438 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004167, allocations: 0 / 369.9 MB, free: 8.438 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.00418, allocations: 4 kB / 369.9 MB, free: 8.434 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.00418, allocations: 0 / 369.9 MB, free: 8.434 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004181, allocations: 0 / 369.9 MB, free: 8.434 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.004286, allocations: 117.4 kB / 370 MB, free: 8.301 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.004296, allocations: 4 kB / 370 MB, free: 8.297 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.004311, allocations: 3.984 kB / 370 MB, free: 8.293 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.004324, allocations: 4 kB / 370 MB, free: 8.289 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.004328, allocations: 4 kB / 370 MB, free: 8.285 MB / 362.8 MB Notification: Performance of sorting global known variables: time 9.748e-06/0.004337, allocations: 16.78 kB / 370.1 MB, free: 8.266 MB / 362.8 MB Notification: Performance of sort global known variables: time 4e-08/0.004337, allocations: 0 / 370.1 MB, free: 8.266 MB / 362.8 MB Notification: Performance of remove unused functions: time 9.999e-05/0.004437, allocations: 15.94 kB / 370.1 MB, free: 8.25 MB / 362.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.533e-05/0.004503, allocations: 80.42 kB / 370.2 MB, free: 8.16 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.004579, allocations: 60.91 kB / 370.2 MB, free: 8.098 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.004582, allocations: 0 / 370.2 MB, free: 8.098 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.004607, allocations: 36.72 kB / 370.2 MB, free: 8.059 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.661e-05/0.004703, allocations: 64.83 kB / 370.3 MB, free: 7.984 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.005336, allocations: 232.2 kB / 370.5 MB, free: 7.73 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.005364, allocations: 71.2 kB / 370.6 MB, free: 7.641 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.005387, allocations: 4.734 kB / 370.6 MB, free: 7.633 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.005433, allocations: 59.36 kB / 370.7 MB, free: 7.574 MB / 362.8 MB Notification: Performance of SimCode: time 4.81e-07/0.005434, allocations: 0 / 370.7 MB, free: 7.574 MB / 362.8 MB Notification: Performance of Templates: time 0.001862/0.007295, allocations: 0.6726 MB / 371.3 MB, free: 6.949 MB / 362.8 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.049873043783009]