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.002348/0.002348, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002599/0.002599, allocations: 166.1 kB / 24.28 MB, free: 148 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 1.68/1.68, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 1.107/1.107, allocations: 88.08 MB / 349.1 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.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 450.8 MB, free: 33.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.513e-05, allocations: 2.859 kB / 450.8 MB, free: 33.06 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.00223/0.002265, allocations: 1.214 MB / 452 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000197/0.002462, allocations: 34.41 kB / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.0025, allocations: 6.844 kB / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.5e-05/0.002595, allocations: 3.328 kB / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.002661, allocations: 0 / 452.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.002851, allocations: 24.45 kB / 452.1 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.00299, allocations: 76.62 kB / 452.2 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.003035, allocations: 0 / 452.2 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.453e-05/0.003099, allocations: 35.09 kB / 452.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.003181, allocations: 21.45 kB / 452.2 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.003206, allocations: 6.797 kB / 452.2 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.689e-05/0.003223, allocations: 2.75 kB / 452.2 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.003275, allocations: 24.02 kB / 452.3 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.003316, allocations: 23.64 kB / 452.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.495e-05/0.003401, allocations: 30.83 kB / 452.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003403, allocations: 0 / 452.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003404, allocations: 0 / 452.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.003409, allocations: 0 / 452.3 MB, free: 32.12 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.0004486/0.003858, allocations: 402.8 kB / 452.7 MB, free: 31.75 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.003893, allocations: 12 kB / 452.7 MB, free: 31.74 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.003941, allocations: 6.094 kB / 452.7 MB, free: 31.74 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.004064, allocations: 120.7 kB / 452.8 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.004077, allocations: 6.906 kB / 452.9 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.004114, allocations: 14.78 kB / 452.9 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.004229, allocations: 62.08 kB / 452.9 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.004241, allocations: 192 / 452.9 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.004253, allocations: 7.016 kB / 452.9 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004257, allocations: 384 / 452.9 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.004321, allocations: 28.41 kB / 453 MB, free: 31.54 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.004486, allocations: 128.5 kB / 453.1 MB, free: 31.39 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.865e-05/0.004585, allocations: 64.23 kB / 453.2 MB, free: 31.34 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.004621, allocations: 19.06 kB / 453.2 MB, free: 31.33 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.004635, allocations: 0 / 453.2 MB, free: 31.33 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.004655, allocations: 44.14 kB / 453.2 MB, free: 31.28 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.004656, allocations: 0 / 453.2 MB, free: 31.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.000205/0.004861, allocations: 87.91 kB / 453.3 MB, free: 31.24 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.004886, allocations: 55.34 kB / 453.4 MB, free: 31.17 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.004949, allocations: 163.2 kB / 453.5 MB, free: 31 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.00496, allocations: 25.7 kB / 453.5 MB, free: 30.97 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.00499, allocations: 133.8 kB / 453.7 MB, free: 30.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.005032, allocations: 33.91 kB / 453.7 MB, free: 30.81 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.005081, allocations: 49.41 kB / 453.7 MB, free: 30.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.005156, allocations: 499 kB / 454.2 MB, free: 30.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.005194, allocations: 18.75 kB / 454.3 MB, free: 30.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.005251, allocations: 74.38 kB / 454.3 MB, free: 30.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.005344, allocations: 89.14 kB / 454.4 MB, free: 30.12 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005346, allocations: 2.688 kB / 454.4 MB, free: 30.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001453/0.005491, allocations: 119.3 kB / 454.5 MB, free: 30.06 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.005505, allocations: 5.406 kB / 454.5 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.005511, allocations: 4 kB / 454.5 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.00553, allocations: 2.656 kB / 454.5 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.005693, allocations: 32.58 kB / 454.6 MB, free: 30.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.0057, allocations: 3.938 kB / 454.6 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.005745, allocations: 10.88 kB / 454.6 MB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.005754, allocations: 9 kB / 454.6 MB, free: 30.05 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.843e-05/0.005813, allocations: 163.3 kB / 454.8 MB, free: 29.88 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.005828, allocations: 14.86 kB / 454.8 MB, free: 29.87 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.005869, allocations: 15.03 kB / 454.8 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00587, allocations: 0 / 454.8 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.005876, allocations: 3.938 kB / 454.8 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.005879, allocations: 0 / 454.8 MB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.906e-05/0.005969, allocations: 128.5 kB / 454.9 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005969, allocations: 2.938 kB / 454.9 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.006137, allocations: 25.08 kB / 454.9 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006139, allocations: 0 / 454.9 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.006157, allocations: 5.797 kB / 455 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006158, allocations: 0 / 455 MB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006159, allocations: 4 kB / 455 MB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.006336, allocations: 148.9 kB / 455.1 MB, free: 29.59 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.006344, allocations: 6.922 kB / 455.1 MB, free: 29.59 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.006363, allocations: 2.938 kB / 455.1 MB, free: 29.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.006401, allocations: 3.375 kB / 455.1 MB, free: 29.59 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.006426, allocations: 9.922 kB / 455.1 MB, free: 29.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.006433, allocations: 7 kB / 455.1 MB, free: 29.58 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.833e-05/0.006461, allocations: 122.2 kB / 455.2 MB, free: 29.46 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006461, allocations: 0 / 455.2 MB, free: 29.46 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001908/0.006652, allocations: 18.38 kB / 455.3 MB, free: 29.46 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 8.646e-05/0.006739, allocations: 101.3 kB / 455.4 MB, free: 29.37 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.006892, allocations: 71.12 kB / 455.4 MB, free: 29.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006894, allocations: 0 / 455.4 MB, free: 29.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.006929, allocations: 36.41 kB / 455.5 MB, free: 29.32 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.007109, allocations: 6.594 kB / 455.5 MB, free: 29.32 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.007672, allocations: 457.8 kB / 455.9 MB, free: 28.95 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.061e-05/0.007723, allocations: 75.92 kB / 456 MB, free: 28.88 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.007775, allocations: 22.33 kB / 456 MB, free: 28.88 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.007807, allocations: 11.44 kB / 456 MB, free: 28.87 MB / 410.8 MB Notification: Performance of SimCode: time 5.01e-07/0.007807, allocations: 0 / 456 MB, free: 28.87 MB / 410.8 MB Notification: Performance of Templates: time 0.003387/0.01119, allocations: 0.6708 MB / 456.7 MB, free: 28.8 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.2848473290214315]