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.001079/0.001079, allocations: 76.41 kB / 21.69 MB, free: 2.859 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.001031/0.001031, allocations: 164.3 kB / 24.99 MB, free: 8.336 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.7395/0.7395, allocations: 88.07 MB / 349.9 MB, free: 14.31 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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 451.5 MB, free: 33.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.242e-05, allocations: 3.078 kB / 451.5 MB, free: 33.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.005524/0.005556, allocations: 1.243 MB / 452.8 MB, free: 32.57 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002497/0.005806, allocations: 31.06 kB / 452.8 MB, free: 32.55 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.005861, allocations: 0 / 452.8 MB, free: 32.55 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.005978, allocations: 0 / 452.8 MB, free: 32.55 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.152e-05/0.00607, allocations: 10.09 kB / 452.8 MB, free: 32.55 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.006318, allocations: 24.33 kB / 452.8 MB, free: 32.54 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.006471, allocations: 74.47 kB / 452.9 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.88e-05/0.00653, allocations: 3.031 kB / 452.9 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.006601, allocations: 32.95 kB / 453 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.006677, allocations: 29.56 kB / 453 MB, free: 32.49 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.006706, allocations: 3 kB / 453 MB, free: 32.49 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.006721, allocations: 2.688 kB / 453 MB, free: 32.49 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.006774, allocations: 23.94 kB / 453 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.006815, allocations: 13.31 kB / 453 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.006918, allocations: 38.11 kB / 453.1 MB, free: 32.47 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.006923, allocations: 4 kB / 453.1 MB, free: 32.46 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.006925, allocations: 0 / 453.1 MB, free: 32.46 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.006931, allocations: 0 / 453.1 MB, free: 32.46 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.003519/0.01045, allocations: 394.9 kB / 453.5 MB, free: 32.09 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.01051, allocations: 8.688 kB / 453.5 MB, free: 32.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.01057, allocations: 6.938 kB / 453.5 MB, free: 32.09 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.01072, allocations: 123 kB / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.01074, allocations: 3.344 kB / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.01077, allocations: 18.33 kB / 453.6 MB, free: 31.94 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.01091, allocations: 63.38 kB / 453.7 MB, free: 31.89 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.01092, allocations: 3 kB / 453.7 MB, free: 31.89 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.01094, allocations: 384 / 453.7 MB, free: 31.89 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.01095, allocations: 384 / 453.7 MB, free: 31.89 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.011, allocations: 26.09 kB / 453.7 MB, free: 31.89 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.01118, allocations: 125.5 kB / 453.8 MB, free: 31.74 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.0113, allocations: 63.48 kB / 453.9 MB, free: 31.7 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.01134, allocations: 23.77 kB / 453.9 MB, free: 31.68 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.01135, allocations: 240 / 453.9 MB, free: 31.68 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.01137, allocations: 44.17 kB / 454 MB, free: 31.63 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.01137, allocations: 0 / 454 MB, free: 31.63 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002268/0.0116, allocations: 84.98 kB / 454 MB, free: 31.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.01163, allocations: 58 kB / 454.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.0117, allocations: 160.3 kB / 454.2 MB, free: 31.35 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01171, allocations: 28.3 kB / 454.3 MB, free: 31.32 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.01174, allocations: 130.9 kB / 454.4 MB, free: 31.19 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.01178, allocations: 40.81 kB / 454.4 MB, free: 31.16 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.01183, allocations: 37.39 kB / 454.5 MB, free: 31.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.01189, allocations: 0.4932 MB / 455 MB, free: 30.63 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/0.01192, allocations: 16.62 kB / 455 MB, free: 30.62 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.01198, allocations: 73.08 kB / 455.1 MB, free: 30.55 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.01208, allocations: 89.78 kB / 455.1 MB, free: 30.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01208, allocations: 0 / 455.1 MB, free: 30.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001589/0.01224, allocations: 115.8 kB / 455.3 MB, free: 30.41 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01226, allocations: 5.688 kB / 455.3 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01226, allocations: 4.125 kB / 455.3 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01228, allocations: 2.844 kB / 455.3 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01242, allocations: 35.48 kB / 455.3 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01243, allocations: 6.5 kB / 455.3 MB, free: 30.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.01247, allocations: 10.11 kB / 455.3 MB, free: 30.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.01248, allocations: 6.938 kB / 455.3 MB, free: 30.39 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.938e-05/0.01254, allocations: 167.5 kB / 455.5 MB, free: 30.22 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.01256, allocations: 13.8 kB / 455.5 MB, free: 30.21 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.01259, allocations: 12.11 kB / 455.5 MB, free: 30.21 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01259, allocations: 0 / 455.5 MB, free: 30.21 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.0126, allocations: 10.84 kB / 455.5 MB, free: 30.2 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.0126, allocations: 0 / 455.5 MB, free: 30.2 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.367e-05/0.01268, allocations: 124.6 kB / 455.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01268, allocations: 0 / 455.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.01282, allocations: 25.98 kB / 455.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01282, allocations: 0 / 455.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.01284, allocations: 10.19 kB / 455.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01284, allocations: 0 / 455.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01284, allocations: 0 / 455.7 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/0.01602, allocations: 147.9 kB / 455.8 MB, free: 29.95 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.01603, allocations: 11.89 kB / 455.8 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01605, allocations: 2.656 kB / 455.8 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.01608, allocations: 10.3 kB / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.01611, allocations: 9.641 kB / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.01611, allocations: 0 / 455.9 MB, free: 29.93 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.965e-05/0.01613, allocations: 121.8 kB / 456 MB, free: 29.81 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01613, allocations: 0 / 456 MB, free: 29.81 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002015/0.01633, allocations: 17.53 kB / 456 MB, free: 29.8 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 9.136e-05/0.01642, allocations: 98.48 kB / 456.1 MB, free: 29.72 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.01656, allocations: 75.05 kB / 456.2 MB, free: 29.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01656, allocations: 0 / 456.2 MB, free: 29.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.01659, allocations: 32.48 kB / 456.2 MB, free: 29.67 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.01677, allocations: 2.812 kB / 456.2 MB, free: 29.67 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.01734, allocations: 453.2 kB / 456.6 MB, free: 29.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.01737, allocations: 64.16 kB / 456.7 MB, free: 29.23 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.01742, allocations: 21.56 kB / 456.7 MB, free: 29.23 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.01745, allocations: 14.22 kB / 456.7 MB, free: 29.22 MB / 410.8 MB Notification: Performance of SimCode: time 6.51e-07/0.01745, allocations: 0 / 456.7 MB, free: 29.22 MB / 410.8 MB Notification: Performance of Templates: time 0.00568/0.02313, allocations: 0.6657 MB / 457.4 MB, free: 29.16 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] 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","",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.799532789969817]