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.001494/0.001494, allocations: 92.31 kB / 20.96 MB, free: 3.48 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.001545/0.001545, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 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 1.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.21/1.21, allocations: 88.07 MB / 349.1 MB, free: 14.22 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.804e-06/1.804e-06, allocations: 0 / 450.8 MB, free: 33.17 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.498e-05, allocations: 2.312 kB / 450.8 MB, free: 33.16 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002107/0.002142, allocations: 1.209 MB / 452 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000196/0.002338, allocations: 35.66 kB / 452 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.002374, allocations: 0 / 452 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.002477, allocations: 2.844 kB / 452 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.002537, allocations: 3.984 kB / 452.1 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.002729, allocations: 23.36 kB / 452.1 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.002861, allocations: 74.94 kB / 452.1 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.002902, allocations: 6.781 kB / 452.2 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.002964, allocations: 27.28 kB / 452.2 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.003034, allocations: 32.38 kB / 452.2 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.003056, allocations: 2.812 kB / 452.2 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.003071, allocations: 2.906 kB / 452.2 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.00312, allocations: 21.05 kB / 452.2 MB, free: 32.24 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.003161, allocations: 15.38 kB / 452.3 MB, free: 32.23 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.841e-05/0.00325, allocations: 37.53 kB / 452.3 MB, free: 32.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003252, allocations: 0 / 452.3 MB, free: 32.23 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.003253, allocations: 2.75 kB / 452.3 MB, free: 32.23 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003258, allocations: 0 / 452.3 MB, free: 32.23 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.0004867/0.003744, allocations: 298.7 kB / 452.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.003782, allocations: 8.719 kB / 452.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.003836, allocations: 10.66 kB / 452.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.003967, allocations: 129.5 kB / 452.7 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.003981, allocations: 3.125 kB / 452.7 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.004017, allocations: 15.34 kB / 452.7 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.004159, allocations: 74.64 kB / 452.8 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.004172, allocations: 192 / 452.8 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.004185, allocations: 8.375 kB / 452.8 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004191, allocations: 3.188 kB / 452.8 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.004263, allocations: 33.86 kB / 452.9 MB, free: 31.74 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.004425, allocations: 127.6 kB / 453 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.00455, allocations: 65.86 kB / 453.1 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.004599, allocations: 36.08 kB / 453.1 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.004613, allocations: 0 / 453.1 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.004631, allocations: 33.59 kB / 453.1 MB, free: 31.51 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.004632, allocations: 0 / 453.1 MB, free: 31.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002539/0.004886, allocations: 118.4 kB / 453.2 MB, free: 31.45 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.004912, allocations: 55.34 kB / 453.3 MB, free: 31.39 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.004973, allocations: 110.7 kB / 453.4 MB, free: 31.28 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.004987, allocations: 29.7 kB / 453.4 MB, free: 31.24 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.005011, allocations: 82.77 kB / 453.5 MB, free: 31.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.005047, allocations: 33.56 kB / 453.5 MB, free: 31.13 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.005092, allocations: 38.38 kB / 453.6 MB, free: 31.11 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.005144, allocations: 313.4 kB / 453.9 MB, free: 30.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.0052, allocations: 43.42 kB / 453.9 MB, free: 30.78 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.005268, allocations: 71.83 kB / 454 MB, free: 30.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.005401, allocations: 120.9 kB / 454.1 MB, free: 30.66 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005403, allocations: 0 / 454.1 MB, free: 30.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001909/0.005594, allocations: 151.7 kB / 454.3 MB, free: 30.59 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.005609, allocations: 7.281 kB / 454.3 MB, free: 30.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.005615, allocations: 0 / 454.3 MB, free: 30.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.005639, allocations: 5.578 kB / 454.3 MB, free: 30.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.005809, allocations: 36.75 kB / 454.3 MB, free: 30.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.005817, allocations: 11.81 kB / 454.3 MB, free: 30.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.005866, allocations: 13.75 kB / 454.3 MB, free: 30.56 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.005874, allocations: 2.438 kB / 454.3 MB, free: 30.56 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 5.537e-05/0.005929, allocations: 118.7 kB / 454.5 MB, free: 30.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.005947, allocations: 10.36 kB / 454.5 MB, free: 30.44 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.005983, allocations: 11.38 kB / 454.5 MB, free: 30.43 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005986, allocations: 4 kB / 454.5 MB, free: 30.43 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.005992, allocations: 3.938 kB / 454.5 MB, free: 30.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005994, allocations: 0 / 454.5 MB, free: 30.43 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.529e-05/0.00608, allocations: 124 kB / 454.6 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006081, allocations: 0 / 454.6 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.006256, allocations: 32.83 kB / 454.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006258, allocations: 2.625 kB / 454.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.006273, allocations: 5.969 kB / 454.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006274, allocations: 0 / 454.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006275, allocations: 0 / 454.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.006476, allocations: 153.2 kB / 454.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.006485, allocations: 6.547 kB / 454.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.006505, allocations: 5.578 kB / 454.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.295e-05/0.006548, allocations: 2.656 kB / 454.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.006572, allocations: 14.16 kB / 454.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.006578, allocations: 2.625 kB / 454.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.006598, allocations: 85.77 kB / 454.9 MB, free: 30.1 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.006598, allocations: 0 / 454.9 MB, free: 30.1 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000206/0.006804, allocations: 15.62 kB / 454.9 MB, free: 30.09 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 8.734e-05/0.006892, allocations: 104 kB / 455 MB, free: 30 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.007048, allocations: 82.09 kB / 455.1 MB, free: 29.98 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007049, allocations: 0 / 455.1 MB, free: 29.98 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.007092, allocations: 31.81 kB / 455.1 MB, free: 29.98 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.007294, allocations: 7.219 kB / 455.1 MB, free: 29.97 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.007997, allocations: 469.8 kB / 455.6 MB, free: 29.61 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.008064, allocations: 79 kB / 455.7 MB, free: 29.54 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.008134, allocations: 32.23 kB / 455.7 MB, free: 29.53 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.008178, allocations: 14.94 kB / 455.7 MB, free: 29.52 MB / 410.8 MB Notification: Performance of SimCode: time 5.51e-07/0.008179, allocations: 0 / 455.7 MB, free: 29.52 MB / 410.8 MB Notification: Performance of Templates: time 0.003632/0.01181, allocations: 0.6737 MB / 456.4 MB, free: 29.46 MB / 410.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: 6.006126005901024]