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.00104/0.00104, allocations: 80.23 kB / 21.18 MB, free: 3.387 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.000933/0.000933, allocations: 161 kB / 24.55 MB, free: 20 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 0.8952/0.8952, allocations: 177.1 MB / 205 MB, free: 5.391 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.6327/0.6327, allocations: 88.07 MB / 349.6 MB, free: 14.23 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.984e-06/1.984e-06, allocations: 0 / 451.6 MB, free: 33.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.198e-05, allocations: 7.344 kB / 451.6 MB, free: 33.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001366/0.001388, allocations: 1.24 MB / 452.8 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.001572, allocations: 35.11 kB / 452.8 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.001606, allocations: 0 / 452.8 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.698e-05/0.001693, allocations: 3.938 kB / 452.8 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.001755, allocations: 10.28 kB / 452.8 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.001911, allocations: 24.27 kB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.002012, allocations: 74.64 kB / 452.9 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.00205, allocations: 10.84 kB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.002097, allocations: 35.89 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.002152, allocations: 22.16 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.00217, allocations: 2.938 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.002183, allocations: 2.75 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.002224, allocations: 17.08 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.002255, allocations: 22 kB / 453.1 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.58e-05/0.00233, allocations: 30.38 kB / 453.1 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.002333, allocations: 6.719 kB / 453.1 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.103e-06/0.002334, allocations: 0 / 453.1 MB, free: 32.39 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.002338, allocations: 0 / 453.1 MB, free: 32.39 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.0003408/0.002679, allocations: 392 kB / 453.5 MB, free: 32.02 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.002716, allocations: 11.59 kB / 453.5 MB, free: 32.02 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.002756, allocations: 7.75 kB / 453.5 MB, free: 32.01 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.002862, allocations: 122.8 kB / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.002872, allocations: 3.406 kB / 453.6 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.0029, allocations: 21.05 kB / 453.6 MB, free: 31.87 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.906e-05/0.002989, allocations: 52.11 kB / 453.7 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.002998, allocations: 192 / 453.7 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.003007, allocations: 4.375 kB / 453.7 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.003014, allocations: 3.188 kB / 453.7 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.003053, allocations: 22.33 kB / 453.7 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.003175, allocations: 124.3 kB / 453.8 MB, free: 31.68 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.00326, allocations: 64.72 kB / 453.9 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.003289, allocations: 26.53 kB / 453.9 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.003298, allocations: 7.938 kB / 453.9 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.003314, allocations: 40.12 kB / 454 MB, free: 31.56 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 6.52e-07/0.003315, allocations: 0 / 454 MB, free: 31.56 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001606/0.003476, allocations: 80.92 kB / 454.1 MB, free: 31.52 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.003493, allocations: 58.19 kB / 454.1 MB, free: 31.45 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.381e-05/0.003536, allocations: 160.3 kB / 454.3 MB, free: 31.28 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.003544, allocations: 32.64 kB / 454.3 MB, free: 31.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.003559, allocations: 126.9 kB / 454.4 MB, free: 31.12 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.003591, allocations: 40.45 kB / 454.5 MB, free: 31.09 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.003624, allocations: 38.14 kB / 454.5 MB, free: 31.05 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.003662, allocations: 0.4904 MB / 455 MB, free: 30.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.003689, allocations: 22.78 kB / 455 MB, free: 30.55 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.003729, allocations: 69.56 kB / 455.1 MB, free: 30.48 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.384e-05/0.003803, allocations: 95.84 kB / 455.2 MB, free: 30.4 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.003806, allocations: 0 / 455.2 MB, free: 30.4 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001066/0.003912, allocations: 116.3 kB / 455.3 MB, free: 30.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.003926, allocations: 5.594 kB / 455.3 MB, free: 30.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.003931, allocations: 4.047 kB / 455.3 MB, free: 30.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.003947, allocations: 6.922 kB / 455.3 MB, free: 30.33 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.004065, allocations: 32.55 kB / 455.3 MB, free: 30.33 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.004071, allocations: 3.938 kB / 455.3 MB, free: 30.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.004096, allocations: 14.14 kB / 455.4 MB, free: 30.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.004102, allocations: 5.75 kB / 455.4 MB, free: 30.32 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.894e-05/0.004141, allocations: 163.4 kB / 455.5 MB, free: 30.15 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.004151, allocations: 10.83 kB / 455.5 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.004178, allocations: 15.03 kB / 455.5 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00418, allocations: 4 kB / 455.5 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004183, allocations: 3.938 kB / 455.5 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004186, allocations: 3.328 kB / 455.6 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.31e-05/0.004239, allocations: 117.4 kB / 455.7 MB, free: 29.99 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00424, allocations: 0 / 455.7 MB, free: 29.99 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.004348, allocations: 37.92 kB / 455.7 MB, free: 29.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00435, allocations: 0 / 455.7 MB, free: 29.98 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.004369, allocations: 2.875 kB / 455.7 MB, free: 29.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00437, allocations: 0 / 455.7 MB, free: 29.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.004371, allocations: 6.844 kB / 455.7 MB, free: 29.98 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.004499, allocations: 141 kB / 455.9 MB, free: 29.87 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.004507, allocations: 10.73 kB / 455.9 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.004521, allocations: 10.22 kB / 455.9 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.64e-05/0.004538, allocations: 0 / 455.9 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.004554, allocations: 10.17 kB / 455.9 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.004558, allocations: 2.906 kB / 455.9 MB, free: 29.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.41e-05/0.004572, allocations: 122 kB / 456 MB, free: 29.74 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.004572, allocations: 0 / 456 MB, free: 29.74 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000131/0.004703, allocations: 18.56 kB / 456 MB, free: 29.73 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 6.114e-05/0.004764, allocations: 100.7 kB / 456.1 MB, free: 29.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.00487, allocations: 71.28 kB / 456.2 MB, free: 29.61 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.004872, allocations: 0 / 456.2 MB, free: 29.61 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.457e-05/0.004896, allocations: 32.27 kB / 456.2 MB, free: 29.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.005032, allocations: 10.06 kB / 456.2 MB, free: 29.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.005465, allocations: 445.8 kB / 456.7 MB, free: 29.23 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.00549, allocations: 64.31 kB / 456.7 MB, free: 29.16 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.005526, allocations: 21.64 kB / 456.8 MB, free: 29.16 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.005553, allocations: 15.28 kB / 456.8 MB, free: 29.15 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.005553, allocations: 0 / 456.8 MB, free: 29.15 MB / 410.8 MB Notification: Performance of Templates: time 0.002118/0.007672, allocations: 0.6636 MB / 457.4 MB, free: 29.09 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.571257334202528]