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.0009867/0.0009867, allocations: 79.59 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.0009304/0.0009304, allocations: 161.4 kB / 24.56 MB, free: 16 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.908/0.908, allocations: 177.2 MB / 205 MB, free: 5.621 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.6615/0.6615, allocations: 88.07 MB / 349.6 MB, free: 14.29 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.863e-06/1.863e-06, allocations: 0 / 451.6 MB, free: 33.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.248e-05, allocations: 2.312 kB / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002277/0.002299, allocations: 1.241 MB / 452.8 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.002517, allocations: 27.88 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.002565, allocations: 2.906 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.002677, allocations: 7.234 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.00276, allocations: 0 / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.002967, allocations: 31.31 kB / 452.9 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.003107, allocations: 68.44 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.003148, allocations: 0 / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.354e-05/0.003221, allocations: 44.02 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.003307, allocations: 21.69 kB / 453 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.003342, allocations: 2.875 kB / 453 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.00336, allocations: 2.906 kB / 453 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.003414, allocations: 20.27 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.003457, allocations: 23.31 kB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.003553, allocations: 31.38 kB / 453.1 MB, free: 32.38 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003555, allocations: 0 / 453.1 MB, free: 32.38 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003556, allocations: 0 / 453.1 MB, free: 32.38 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.003562, allocations: 0 / 453.1 MB, free: 32.38 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.0004618/0.004024, allocations: 401.4 kB / 453.5 MB, free: 32 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.004081, allocations: 10.81 kB / 453.5 MB, free: 32 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.00414, allocations: 7.5 kB / 453.5 MB, free: 32 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.004274, allocations: 126 kB / 453.6 MB, free: 31.86 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.004288, allocations: 3.031 kB / 453.6 MB, free: 31.86 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.00432, allocations: 17.86 kB / 453.6 MB, free: 31.85 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.004439, allocations: 54.61 kB / 453.7 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.004453, allocations: 6.75 kB / 453.7 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.004467, allocations: 4.375 kB / 453.7 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.004477, allocations: 4.359 kB / 453.7 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.004533, allocations: 23.92 kB / 453.7 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.004694, allocations: 128.6 kB / 453.8 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.004822, allocations: 64.89 kB / 453.9 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.004864, allocations: 20.31 kB / 453.9 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.004875, allocations: 2.906 kB / 453.9 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.004899, allocations: 37.59 kB / 454 MB, free: 31.54 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.0049, allocations: 0 / 454 MB, free: 31.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002133/0.005114, allocations: 86.14 kB / 454.1 MB, free: 31.5 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.005141, allocations: 58.25 kB / 454.1 MB, free: 31.43 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.005207, allocations: 160.2 kB / 454.3 MB, free: 31.26 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.005221, allocations: 32.67 kB / 454.3 MB, free: 31.23 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.005248, allocations: 130.8 kB / 454.4 MB, free: 31.09 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.005294, allocations: 40.86 kB / 454.5 MB, free: 31.06 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.005346, allocations: 38.3 kB / 454.5 MB, free: 31.03 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.005408, allocations: 499 kB / 455 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.005449, allocations: 19.03 kB / 455 MB, free: 30.53 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.005509, allocations: 65.62 kB / 455.1 MB, free: 30.47 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.005618, allocations: 99.5 kB / 455.2 MB, free: 30.38 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.005622, allocations: 3.141 kB / 455.2 MB, free: 30.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001741/0.005796, allocations: 111.8 kB / 455.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.005813, allocations: 6.531 kB / 455.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.00582, allocations: 6.812 kB / 455.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.005834, allocations: 0 / 455.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.005987, allocations: 36.19 kB / 455.3 MB, free: 30.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.005997, allocations: 7.875 kB / 455.3 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.00604, allocations: 16.95 kB / 455.4 MB, free: 30.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.006049, allocations: 2.781 kB / 455.4 MB, free: 30.3 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.763e-05/0.006107, allocations: 163.3 kB / 455.5 MB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.006123, allocations: 9.703 kB / 455.5 MB, free: 30.12 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.006155, allocations: 12.12 kB / 455.5 MB, free: 30.12 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006157, allocations: 0 / 455.5 MB, free: 30.12 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.006162, allocations: 3.938 kB / 455.5 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.006165, allocations: 2.906 kB / 455.5 MB, free: 30.11 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.006242, allocations: 124.6 kB / 455.7 MB, free: 29.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.006244, allocations: 0 / 455.7 MB, free: 29.97 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.006398, allocations: 34.66 kB / 455.7 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0064, allocations: 0 / 455.7 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.006428, allocations: 6.281 kB / 455.7 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.00643, allocations: 0 / 455.7 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006432, allocations: 0 / 455.7 MB, free: 29.96 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.006618, allocations: 142.3 kB / 455.8 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.006628, allocations: 10.92 kB / 455.9 MB, free: 29.85 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.006649, allocations: 4 kB / 455.9 MB, free: 29.85 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.998e-05/0.006679, allocations: 10.12 kB / 455.9 MB, free: 29.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.006703, allocations: 10.12 kB / 455.9 MB, free: 29.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.006708, allocations: 0 / 455.9 MB, free: 29.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.009e-05/0.006728, allocations: 122 kB / 456 MB, free: 29.72 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.006728, allocations: 0 / 456 MB, free: 29.72 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002404/0.006969, allocations: 18.31 kB / 456 MB, free: 29.72 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 7.112e-05/0.00704, allocations: 101.1 kB / 456.1 MB, free: 29.63 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.007184, allocations: 65.55 kB / 456.2 MB, free: 29.61 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007185, allocations: 256 / 456.2 MB, free: 29.61 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.007224, allocations: 37.33 kB / 456.2 MB, free: 29.58 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.007414, allocations: 6.75 kB / 456.2 MB, free: 29.58 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.008048, allocations: 452.3 kB / 456.7 MB, free: 29.21 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.008081, allocations: 68.02 kB / 456.7 MB, free: 29.14 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.008137, allocations: 22.7 kB / 456.8 MB, free: 29.14 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.008171, allocations: 11.28 kB / 456.8 MB, free: 29.13 MB / 410.8 MB Notification: Performance of SimCode: time 6.91e-07/0.008172, allocations: 0 / 456.8 MB, free: 29.13 MB / 410.8 MB Notification: Performance of Templates: time 0.003476/0.01165, allocations: 0.6977 MB / 457.5 MB, free: 29.05 MB / 410.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.6586819142103195]