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.000929/0.000929, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001079/0.001079, allocations: 174 kB / 24.91 MB, free: 9.188 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.9898/0.9898, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.5945/0.5945, allocations: 88.08 MB / 349.9 MB, free: 14.12 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.[0-9,]+..|der.x.[0-9,]+..|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="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 398.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.063e-05, allocations: 3.156 kB / 398.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.00218/0.0022, allocations: 1.248 MB / 400 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.002404, allocations: 36 kB / 400.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.00244, allocations: 0 / 400.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.621e-05/0.002536, allocations: 0 / 400.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.002607, allocations: 11.98 kB / 400.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002778, allocations: 23.91 kB / 400.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.002917, allocations: 79.78 kB / 400.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.002957, allocations: 4 kB / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.003023, allocations: 31.95 kB / 400.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.003093, allocations: 19.97 kB / 400.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.003116, allocations: 4 kB / 400.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.003129, allocations: 4 kB / 400.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.003179, allocations: 19.91 kB / 400.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.003212, allocations: 16 kB / 400.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.028e-05/0.003292, allocations: 35.88 kB / 400.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003293, allocations: 4 kB / 400.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003294, allocations: 0 / 400.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003297, allocations: 0 / 400.3 MB, free: 12.06 MB / 378.7 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.0003876/0.003685, allocations: 269.5 kB / 400.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.003722, allocations: 8.031 kB / 400.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.003754, allocations: 4.938 kB / 400.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.003875, allocations: 125.7 kB / 400.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.003887, allocations: 4.375 kB / 400.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.003913, allocations: 4.375 kB / 400.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.004003, allocations: 58.2 kB / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.004013, allocations: 192 / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.00402, allocations: 384 / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004027, allocations: 4.375 kB / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.004066, allocations: 15.92 kB / 400.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.004206, allocations: 87.75 kB / 400.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.004298, allocations: 42.5 kB / 400.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.004327, allocations: 24.86 kB / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.004336, allocations: 0 / 400.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.004365, allocations: 34.55 kB / 401 MB, free: 11.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.004366, allocations: 0 / 401 MB, free: 11.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001469/0.004513, allocations: 65.91 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.004548, allocations: 51.41 kB / 401.1 MB, free: 11.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.004613, allocations: 118.6 kB / 401.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.004626, allocations: 25.7 kB / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.004656, allocations: 80.14 kB / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.004694, allocations: 35.73 kB / 401.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.004741, allocations: 37.69 kB / 401.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.004838, allocations: 318.8 kB / 401.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.004864, allocations: 15.98 kB / 401.7 MB, free: 10.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.657e-05/0.00491, allocations: 44.22 kB / 401.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.368e-05/0.005004, allocations: 75.31 kB / 401.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005007, allocations: 0 / 401.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001342/0.005141, allocations: 97.56 kB / 401.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.005154, allocations: 8 kB / 401.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.00516, allocations: 0 / 401.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.005173, allocations: 0 / 401.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.005312, allocations: 35.98 kB / 402 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.005319, allocations: 7.938 kB / 402 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.005354, allocations: 7.891 kB / 402 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.005363, allocations: 4 kB / 402 MB, free: 10.2 MB / 378.7 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 7.423e-05/0.005437, allocations: 116.7 kB / 402.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.00545, allocations: 4 kB / 402.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.005482, allocations: 20.14 kB / 402.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.005484, allocations: 0 / 402.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.005487, allocations: 0 / 402.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.00549, allocations: 0 / 402.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.336e-05/0.005583, allocations: 85.77 kB / 402.2 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005585, allocations: 0 / 402.2 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.005724, allocations: 31.92 kB / 402.2 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005726, allocations: 0 / 402.2 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.005742, allocations: 3.984 kB / 402.2 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.005745, allocations: 4 kB / 402.2 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.005747, allocations: 4 kB / 402.2 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.005894, allocations: 113 kB / 402.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.005902, allocations: 4 kB / 402.4 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.00592, allocations: 3.984 kB / 402.4 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.005943, allocations: 4 kB / 402.4 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.005964, allocations: 7.984 kB / 402.4 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.005969, allocations: 0 / 402.4 MB, free: 9.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.292e-05/0.005982, allocations: 13.03 kB / 402.4 MB, free: 9.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005982, allocations: 0 / 402.4 MB, free: 9.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.006165, allocations: 16 kB / 402.4 MB, free: 9.727 MB / 378.7 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 9.886e-05/0.006264, allocations: 92.28 kB / 402.5 MB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.006369, allocations: 56.77 kB / 402.5 MB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.006372, allocations: 0 / 402.5 MB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.0064, allocations: 16.86 kB / 402.6 MB, free: 9.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.091e-05/0.006491, allocations: 14.38 kB / 402.6 MB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.006925, allocations: 291.4 kB / 402.9 MB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.006968, allocations: 67.2 kB / 402.9 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.183e-05/0.007, allocations: 8.719 kB / 402.9 MB, free: 9.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.007054, allocations: 55.38 kB / 403 MB, free: 9.07 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.007054, allocations: 4 kB / 403 MB, free: 9.066 MB / 378.7 MB Notification: Performance of Templates: time 0.002699/0.009753, allocations: 0.7169 MB / 403.7 MB, free: 8.395 MB / 378.7 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 -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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.241440548095852]