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.0009971/0.0009971, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001582/0.001582, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9838/0.9838, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.6073/0.6073, allocations: 88.07 MB / 349.9 MB, free: 14.18 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.343e-06/1.343e-06, allocations: 0 / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.456e-05, allocations: 5.344 kB / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001789/0.001814, allocations: 1.246 MB / 453.3 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001651/0.001979, allocations: 31.19 kB / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.002012, allocations: 0 / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.541e-05/0.002087, allocations: 3.938 kB / 453.3 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.002147, allocations: 10.05 kB / 453.3 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.002302, allocations: 24.09 kB / 453.3 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.002404, allocations: 77.41 kB / 453.4 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.002436, allocations: 2.469 kB / 453.4 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.002491, allocations: 31.27 kB / 453.4 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.002547, allocations: 25.31 kB / 453.5 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.002565, allocations: 2.812 kB / 453.5 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.002578, allocations: 6.719 kB / 453.5 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.002612, allocations: 17.42 kB / 453.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.002641, allocations: 19.52 kB / 453.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.907e-05/0.00271, allocations: 38.05 kB / 453.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002712, allocations: 0 / 453.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002713, allocations: 0 / 453.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.002716, allocations: 4 kB / 453.6 MB, free: 32.16 MB / 410.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.0002875/0.003004, allocations: 384.7 kB / 453.9 MB, free: 31.79 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.003038, allocations: 10.81 kB / 453.9 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.003067, allocations: 8.25 kB / 453.9 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.411e-05/0.003151, allocations: 121.8 kB / 454.1 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.003165, allocations: 3.312 kB / 454.1 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.003187, allocations: 11.58 kB / 454.1 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.243e-05/0.00325, allocations: 55.14 kB / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.003257, allocations: 192 / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.003263, allocations: 6.859 kB / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.003267, allocations: 384 / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.003294, allocations: 24.5 kB / 454.2 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.247e-05/0.003387, allocations: 116.1 kB / 454.3 MB, free: 31.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.958e-05/0.003446, allocations: 56.62 kB / 454.3 MB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.003465, allocations: 24.3 kB / 454.4 MB, free: 31.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.003472, allocations: 0 / 454.4 MB, free: 31.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.003484, allocations: 36.2 kB / 454.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 7.22e-07/0.003485, allocations: 4 kB / 454.4 MB, free: 31.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001165/0.003602, allocations: 82.5 kB / 454.5 MB, free: 31.32 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.377e-05/0.003615, allocations: 51.41 kB / 454.5 MB, free: 31.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.606e-05/0.003652, allocations: 170.4 kB / 454.7 MB, free: 31.08 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.003659, allocations: 25.7 kB / 454.7 MB, free: 31.05 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.77e-05/0.003676, allocations: 133.3 kB / 454.8 MB, free: 30.91 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.003706, allocations: 44.55 kB / 454.9 MB, free: 30.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.003737, allocations: 41.19 kB / 454.9 MB, free: 30.84 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.003778, allocations: 0.4897 MB / 455.4 MB, free: 30.35 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.003794, allocations: 11.69 kB / 455.4 MB, free: 30.35 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.003826, allocations: 67.19 kB / 455.5 MB, free: 30.28 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.003885, allocations: 86.67 kB / 455.6 MB, free: 30.2 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003887, allocations: 0 / 455.6 MB, free: 30.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.73e-05/0.003974, allocations: 101.9 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.003985, allocations: 11.72 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.00399, allocations: 2.906 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.003999, allocations: 4.125 kB / 455.7 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.004094, allocations: 39.19 kB / 455.7 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.004097, allocations: 3 kB / 455.7 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.004119, allocations: 10.81 kB / 455.8 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.004124, allocations: 2.844 kB / 455.8 MB, free: 30.13 MB / 410.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 3.833e-05/0.004162, allocations: 163.5 kB / 455.9 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.004171, allocations: 6.953 kB / 455.9 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.004196, allocations: 14.97 kB / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004198, allocations: 0 / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.004199, allocations: 0 / 455.9 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.004203, allocations: 11.22 kB / 455.9 MB, free: 29.94 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.382e-05/0.004257, allocations: 107.5 kB / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004258, allocations: 0 / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.004345, allocations: 23.64 kB / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004346, allocations: 2.719 kB / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.004357, allocations: 9.891 kB / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004358, allocations: 0 / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004358, allocations: 0 / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.00447, allocations: 140.9 kB / 456.2 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.004477, allocations: 10.58 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.004488, allocations: 10.91 kB / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.004502, allocations: 0 / 456.2 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.004515, allocations: 6.172 kB / 456.3 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.004517, allocations: 3.938 kB / 456.3 MB, free: 29.69 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.453e-05/0.004532, allocations: 125.1 kB / 456.4 MB, free: 29.57 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004532, allocations: 0 / 456.4 MB, free: 29.57 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000129/0.004661, allocations: 21 kB / 456.4 MB, free: 29.57 MB / 410.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 5.961e-05/0.00472, allocations: 95.48 kB / 456.5 MB, free: 29.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.804e-05/0.004798, allocations: 72.16 kB / 456.6 MB, free: 29.45 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.0048, allocations: 0 / 456.6 MB, free: 29.45 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.004821, allocations: 35.61 kB / 456.6 MB, free: 29.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.004934, allocations: 4.781 kB / 456.6 MB, free: 29.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.005289, allocations: 443.1 kB / 457 MB, free: 29.07 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.961e-05/0.005309, allocations: 67.23 kB / 457.1 MB, free: 29 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.13e-05/0.00533, allocations: 3.797 kB / 457.1 MB, free: 29 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.005365, allocations: 74.77 kB / 457.2 MB, free: 28.93 MB / 410.8 MB Notification: Performance of SimCode: time 9.02e-07/0.005366, allocations: 0 / 457.2 MB, free: 28.93 MB / 410.8 MB Notification: Performance of Templates: time 0.001875/0.007241, allocations: 0.7088 MB / 457.9 MB, free: 28.87 MB / 410.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 -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.547891567926854]