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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 117.6 kB / 17.76 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 185.4 kB / 18.68 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8144/0.8144, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.76e-05, allocations: 3.406 kB / 0.5715 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001555/0.00158, allocations: 1.2 MB / 0.5727 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001466/0.001739, allocations: 37.45 kB / 0.5727 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.001777, allocations: 0 / 0.5727 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.524e-05/0.001849, allocations: 3.938 kB / 0.5727 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.001904, allocations: 10 kB / 0.5727 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.002036, allocations: 11.73 kB / 0.5727 GB, free: 38.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.002134, allocations: 40.53 kB / 0.5728 GB, free: 38.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.00218, allocations: 9.281 kB / 0.5728 GB, free: 38.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 6.183e-05/0.002247, allocations: 21.89 kB / 0.5728 GB, free: 38.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.002308, allocations: 24.7 kB / 0.5728 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.002335, allocations: 2.312 kB / 0.5728 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.002352, allocations: 5.969 kB / 0.5728 GB, free: 38.79 MB / 462.3 MB Notification: Performance of combineBinaries: time 5.467e-05/0.00241, allocations: 46.23 kB / 0.5729 GB, free: 38.76 MB / 462.3 MB Notification: Performance of replaceArrayConstructors: time 1.24e-05/0.002427, allocations: 17.25 kB / 0.5729 GB, free: 38.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.002451, allocations: 2.125 kB / 0.5729 GB, free: 38.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.817e-06/0.002463, allocations: 0 / 0.5729 GB, free: 38.75 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (4) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002894/0.002757, allocations: 279.6 kB / 0.5732 GB, free: 38.43 MB / 462.3 MB Notification: Performance of FunctionAlias: time 1.905e-05/0.002782, allocations: 16.39 kB / 0.5732 GB, free: 38.42 MB / 462.3 MB Notification: Performance of Early Inline: time 8.547e-05/0.002873, allocations: 134.9 kB / 0.5733 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simplify1: time 1.422e-05/0.002892, allocations: 5.828 kB / 0.5733 GB, free: 38.29 MB / 462.3 MB Notification: Performance of Alias: time 3.278e-05/0.00293, allocations: 58.48 kB / 0.5734 GB, free: 38.2 MB / 462.3 MB Notification: Performance of simplify2: time 5.31e-06/0.002939, allocations: 9.625 kB / 0.5734 GB, free: 38.2 MB / 462.3 MB Notification: Performance of Detect States: time 8.917e-05/0.003033, allocations: 61.28 kB / 0.5734 GB, free: 38.13 MB / 462.3 MB Notification: Performance of Events: time 1.906e-05/0.003059, allocations: 11.67 kB / 0.5734 GB, free: 38.12 MB / 462.3 MB Notification: Performance of Partitioning: time 4.773e-05/0.003111, allocations: 32.19 kB / 0.5735 GB, free: 38.1 MB / 462.3 MB Notification: Performance of Causalize: time 0.0001927/0.003309, allocations: 105.7 kB / 0.5736 GB, free: 38.04 MB / 462.3 MB Notification: Performance of After Index Reduction Inline: time 8.03e-05/0.003397, allocations: 131.2 kB / 0.5737 GB, free: 37.92 MB / 462.3 MB Notification: Performance of Inline: time 0.0001223/0.003525, allocations: 202.1 kB / 0.5739 GB, free: 37.74 MB / 462.3 MB Notification: Performance of Partitioning: time 9.548e-06/0.00354, allocations: 14.86 kB / 0.5739 GB, free: 37.72 MB / 462.3 MB Notification: Performance of Cleanup: time 9.598e-06/0.003555, allocations: 10.58 kB / 0.5739 GB, free: 37.71 MB / 462.3 MB Notification: Performance of Causalize: time 0.0002916/0.00385, allocations: 289 kB / 0.5742 GB, free: 37.59 MB / 462.3 MB Notification: Performance of Tearing: time 9.148e-06/0.003868, allocations: 3.938 kB / 0.5742 GB, free: 37.59 MB / 462.3 MB Notification: Performance of Initialization: time 9.41e-07/0.003874, allocations: 1.156 kB / 0.5742 GB, free: 37.59 MB / 462.3 MB Notification: Performance of Tearing: time 9.62e-07/0.003879, allocations: 4 kB / 0.5742 GB, free: 37.59 MB / 462.3 MB Notification: Performance of Categorize: time 6.072e-06/0.003889, allocations: 1.219 kB / 0.5742 GB, free: 37.59 MB / 462.3 MB Notification: Performance of Solve: time 0.000113/0.004006, allocations: 65.5 kB / 0.5743 GB, free: 37.56 MB / 462.3 MB Notification: Performance of Jacobian: time 0.0002491/0.004262, allocations: 360.1 kB / 0.5746 GB, free: 37.28 MB / 462.3 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 8 (2) {x, v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.612e-05/0.004297, allocations: 21.53 kB / 0.5746 GB, free: 37.27 MB / 462.3 MB Notification: Performance of SimCode: time 0.0004598/0.004762, allocations: 1.023 MB / 0.5756 GB, free: 36.36 MB / 462.3 MB Notification: Performance of Templates: time 0.002185/0.006957, allocations: 482 kB / 0.5761 GB, free: 36.14 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) 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) Reference file matches