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.001047/0.001047, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001102/0.001102, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8989/0.8989, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.6657/0.6657, allocations: 88.09 MB / 350.7 MB, free: 11.82 MB / 330.8 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.603e-06/1.603e-06, allocations: 0 / 452.8 MB, free: 8.055 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.132e-05, allocations: 2.312 kB / 452.8 MB, free: 8.051 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002556/0.002588, allocations: 1.243 MB / 454.1 MB, free: 6.797 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.002779, allocations: 31.89 kB / 454.1 MB, free: 6.766 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.002817, allocations: 0 / 454.1 MB, free: 6.766 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 9.08e-05/0.002908, allocations: 7.984 kB / 454.1 MB, free: 6.758 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.002973, allocations: 4 kB / 454.1 MB, free: 6.754 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.003161, allocations: 23.89 kB / 454.1 MB, free: 6.73 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003306, allocations: 71.86 kB / 454.2 MB, free: 6.66 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.003352, allocations: 15.92 kB / 454.2 MB, free: 6.645 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.003425, allocations: 31.97 kB / 454.3 MB, free: 6.613 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.003496, allocations: 19.97 kB / 454.3 MB, free: 6.594 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.003525, allocations: 4 kB / 454.3 MB, free: 6.59 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.003541, allocations: 4 kB / 454.3 MB, free: 6.586 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.003586, allocations: 23.91 kB / 454.3 MB, free: 6.562 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.003619, allocations: 11.98 kB / 454.3 MB, free: 6.551 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 8.876e-05/0.003708, allocations: 43.88 kB / 454.4 MB, free: 6.508 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.003711, allocations: 0 / 454.4 MB, free: 6.508 MB / 426.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003712, allocations: 0 / 454.4 MB, free: 6.508 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.003715, allocations: 0 / 454.4 MB, free: 6.508 MB / 426.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.0004347/0.00415, allocations: 392.6 kB / 454.7 MB, free: 6.086 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.004191, allocations: 11.98 kB / 454.8 MB, free: 6.074 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.004227, allocations: 4.938 kB / 454.8 MB, free: 6.07 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004363, allocations: 128.5 kB / 454.9 MB, free: 5.918 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.004375, allocations: 4.375 kB / 454.9 MB, free: 5.914 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.004405, allocations: 12.33 kB / 454.9 MB, free: 5.902 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.004508, allocations: 54.22 kB / 455 MB, free: 5.844 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.004519, allocations: 192 / 455 MB, free: 5.844 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.004528, allocations: 384 / 455 MB, free: 5.844 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004534, allocations: 4.375 kB / 455 MB, free: 5.84 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.00458, allocations: 15.92 kB / 455 MB, free: 5.824 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.004746, allocations: 125.2 kB / 455.1 MB, free: 5.676 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.00485, allocations: 54.98 kB / 455.2 MB, free: 5.609 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.004884, allocations: 23.67 kB / 455.2 MB, free: 5.582 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.004894, allocations: 4 kB / 455.2 MB, free: 5.578 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.00492, allocations: 33.39 kB / 455.2 MB, free: 5.535 MB / 426.8 MB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.004922, allocations: 0 / 455.2 MB, free: 5.535 MB / 426.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001893/0.005111, allocations: 85.77 kB / 455.3 MB, free: 5.445 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.005144, allocations: 51.41 kB / 455.3 MB, free: 5.383 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.005229, allocations: 165.8 kB / 455.5 MB, free: 5.203 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.005246, allocations: 33.64 kB / 455.5 MB, free: 5.164 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.005293, allocations: 130.9 kB / 455.7 MB, free: 5.031 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.005341, allocations: 35.73 kB / 455.7 MB, free: 4.996 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.005402, allocations: 39.36 kB / 455.7 MB, free: 4.949 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.00555, allocations: 0.4923 MB / 456.2 MB, free: 4.445 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.005582, allocations: 11.98 kB / 456.2 MB, free: 4.434 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.005646, allocations: 70.34 kB / 456.3 MB, free: 4.344 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.00575, allocations: 82.36 kB / 456.4 MB, free: 4.242 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005752, allocations: 0 / 456.4 MB, free: 4.242 MB / 426.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001674/0.00592, allocations: 109.6 kB / 456.5 MB, free: 4.129 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.005935, allocations: 4 kB / 456.5 MB, free: 4.125 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.00594, allocations: 0 / 456.5 MB, free: 4.125 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005952, allocations: 4 kB / 456.5 MB, free: 4.121 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.006101, allocations: 31.98 kB / 456.5 MB, free: 4.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.006106, allocations: 3.938 kB / 456.5 MB, free: 4.086 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.006151, allocations: 15.83 kB / 456.6 MB, free: 4.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.006162, allocations: 8.188 kB / 456.6 MB, free: 4.062 MB / 426.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 8.115e-05/0.006243, allocations: 152.6 kB / 456.7 MB, free: 3.902 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.006263, allocations: 11.98 kB / 456.7 MB, free: 3.891 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.006301, allocations: 16.14 kB / 456.7 MB, free: 3.875 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.006304, allocations: 4 kB / 456.7 MB, free: 3.871 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006306, allocations: 0 / 456.7 MB, free: 3.871 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.006311, allocations: 3.938 kB / 456.8 MB, free: 3.867 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.006419, allocations: 113.2 kB / 456.9 MB, free: 3.73 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006421, allocations: 0 / 456.9 MB, free: 3.73 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.006588, allocations: 31.92 kB / 456.9 MB, free: 3.699 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.00659, allocations: 0 / 456.9 MB, free: 3.699 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.006609, allocations: 3.984 kB / 456.9 MB, free: 3.695 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.006612, allocations: 4 kB / 456.9 MB, free: 3.691 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006613, allocations: 0 / 456.9 MB, free: 3.691 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.006814, allocations: 147.9 kB / 457 MB, free: 3.527 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.006823, allocations: 4 kB / 457.1 MB, free: 3.523 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.006844, allocations: 7.984 kB / 457.1 MB, free: 3.516 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.006878, allocations: 4 kB / 457.1 MB, free: 3.512 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.006898, allocations: 3.984 kB / 457.1 MB, free: 3.508 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.006907, allocations: 4 kB / 457.1 MB, free: 3.504 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.006949, allocations: 123.2 kB / 457.2 MB, free: 3.383 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.006949, allocations: 0 / 457.2 MB, free: 3.383 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002387/0.007188, allocations: 23.94 kB / 457.2 MB, free: 3.359 MB / 426.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 0.0001144/0.007302, allocations: 103.2 kB / 457.3 MB, free: 3.25 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.007432, allocations: 55.59 kB / 457.4 MB, free: 3.191 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007434, allocations: 0 / 457.4 MB, free: 3.191 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.007477, allocations: 35.66 kB / 457.4 MB, free: 3.152 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.007666, allocations: 4 kB / 457.4 MB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.008351, allocations: 453.5 kB / 457.8 MB, free: 2.676 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.008396, allocations: 67.33 kB / 457.9 MB, free: 2.59 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.703e-05/0.008433, allocations: 4.734 kB / 457.9 MB, free: 2.582 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.008497, allocations: 78.14 kB / 458 MB, free: 2.504 MB / 426.8 MB Notification: Performance of SimCode: time 8.62e-07/0.008498, allocations: 4 kB / 458 MB, free: 2.5 MB / 426.8 MB Notification: Performance of Templates: time 0.003137/0.01163, allocations: 0.7067 MB / 458.7 MB, free: 1.832 MB / 426.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.508588020224124]