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.0007935/0.0007935, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009136/0.0009136, allocations: 170 kB / 24.91 MB, free: 9.148 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.9581/0.9581, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.6019/0.6019, allocations: 88.08 MB / 349.9 MB, free: 14.14 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.273e-06/1.273e-06, allocations: 0 / 398.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.662e-05, allocations: 4.562 kB / 398.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001643/0.001659, allocations: 1.289 MB / 400.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.001794, allocations: 32.02 kB / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.001818, allocations: 4 kB / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-05/0.001874, allocations: 0 / 400.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.001927, allocations: 15.92 kB / 400.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.002053, allocations: 19.95 kB / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.002149, allocations: 71.86 kB / 400.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.002182, allocations: 0 / 400.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.002231, allocations: 39.89 kB / 400.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.002286, allocations: 23.97 kB / 400.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.002302, allocations: 7.938 kB / 400.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.002313, allocations: 0 / 400.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.002348, allocations: 19.97 kB / 400.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.002372, allocations: 19.97 kB / 400.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.678e-05/0.002439, allocations: 39.83 kB / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00244, allocations: 0 / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.002441, allocations: 0 / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.002445, allocations: 0 / 400.4 MB, free: 11.97 MB / 378.7 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.0002471/0.002692, allocations: 261.6 kB / 400.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.16e-05/0.002714, allocations: 12.03 kB / 400.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.002734, allocations: 12.92 kB / 400.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.002816, allocations: 105.8 kB / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.002823, allocations: 4.375 kB / 400.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.00284, allocations: 12.36 kB / 400.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.508e-05/0.002905, allocations: 54.17 kB / 400.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.002913, allocations: 192 / 400.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.00292, allocations: 4.359 kB / 400.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.002923, allocations: 384 / 400.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.002951, allocations: 19.92 kB / 400.9 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.434e-05/0.003035, allocations: 87.73 kB / 401 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.003099, allocations: 42.66 kB / 401 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.003122, allocations: 24.98 kB / 401 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.003129, allocations: 4 kB / 401 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.003146, allocations: 34.5 kB / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 5.51e-07/0.003146, allocations: 0 / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 8.698e-05/0.003233, allocations: 61.92 kB / 401.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.003256, allocations: 55.39 kB / 401.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.003299, allocations: 102.7 kB / 401.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.003311, allocations: 29.7 kB / 401.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.003333, allocations: 88.08 kB / 401.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.003362, allocations: 39.73 kB / 401.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.003393, allocations: 29.69 kB / 401.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.003475, allocations: 326.8 kB / 401.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.003492, allocations: 11.98 kB / 401.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.003528, allocations: 52.16 kB / 401.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.003592, allocations: 71.09 kB / 401.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.003593, allocations: 0 / 401.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.232e-05/0.003675, allocations: 93.53 kB / 402 MB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.003685, allocations: 4 kB / 402 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.003688, allocations: 0 / 402 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.003696, allocations: 4 kB / 402 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.003828, allocations: 42.89 kB / 402.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.00383, allocations: 0 / 402.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.003854, allocations: 15.89 kB / 402.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.003859, allocations: 4 kB / 402.1 MB, free: 10.11 MB / 378.7 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.256e-05/0.003911, allocations: 128.7 kB / 402.2 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.00392, allocations: 7.984 kB / 402.2 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.003941, allocations: 12.12 kB / 402.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.003942, allocations: 0 / 402.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.003943, allocations: 0 / 402.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.003947, allocations: 3.938 kB / 402.2 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.313e-05/0.00401, allocations: 77.84 kB / 402.3 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004011, allocations: 0 / 402.3 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.004131, allocations: 38.97 kB / 402.3 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.004131, allocations: 0 / 402.3 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.004145, allocations: 7.984 kB / 402.3 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.004146, allocations: 8 kB / 402.4 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004147, allocations: 0 / 402.4 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.938e-05/0.004246, allocations: 116.9 kB / 402.5 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.004253, allocations: 4 kB / 402.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.004266, allocations: 0 / 402.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.004289, allocations: 4 kB / 402.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.004308, allocations: 11.92 kB / 402.5 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.004313, allocations: 0 / 402.5 MB, free: 9.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.004325, allocations: 16.78 kB / 402.5 MB, free: 9.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004326, allocations: 0 / 402.5 MB, free: 9.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000176/0.004502, allocations: 20 kB / 402.5 MB, free: 9.621 MB / 378.7 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.916e-05/0.004571, allocations: 80.41 kB / 402.6 MB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.616e-05/0.004647, allocations: 59.11 kB / 402.7 MB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.004649, allocations: 0 / 402.7 MB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.13e-05/0.00467, allocations: 24.83 kB / 402.7 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.223e-05/0.004733, allocations: 8.812 kB / 402.7 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.005208, allocations: 283.8 kB / 403 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.005242, allocations: 75.12 kB / 403 MB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.005263, allocations: 4.734 kB / 403 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.00531, allocations: 67.38 kB / 403.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.00531, allocations: 3.938 kB / 403.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of Templates: time 0.001983/0.007294, allocations: 0.7535 MB / 403.9 MB, free: 8.25 MB / 378.7 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 -s gbode -gbm=radauIIA3 -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.0194722372107208]