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.001109/0.001109, allocations: 109 kB / 17.7 MB, free: 5.418 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.0009738/0.0009738, allocations: 193.2 kB / 18.64 MB, free: 4.484 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.416/1.416, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.238/1.238, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.046e-05, allocations: 6.219 kB / 0.4923 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002511/0.002559, allocations: 1.186 MB / 0.4935 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.002773, allocations: 43.92 kB / 0.4935 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.002821, allocations: 7.938 kB / 0.4935 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.896e-05/0.002915, allocations: 0 / 0.4935 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.002991, allocations: 3.984 kB / 0.4935 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.003168, allocations: 15.92 kB / 0.4935 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.003283, allocations: 35.95 kB / 0.4936 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.00335, allocations: 15.92 kB / 0.4936 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.003429, allocations: 27.92 kB / 0.4936 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.003499, allocations: 19.97 kB / 0.4936 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.003527, allocations: 4 kB / 0.4936 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.003548, allocations: 8 kB / 0.4936 GB, free: 11.68 MB / 430.1 MB Notification: Performance of combineBinaries: time 8.439e-05/0.003637, allocations: 35.72 kB / 0.4937 GB, free: 11.65 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 1.983e-05/0.003662, allocations: 23.75 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.003689, allocations: 0 / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-05/0.003718, allocations: 7.922 kB / 0.4937 GB, free: 11.62 MB / 430.1 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.0004414/0.004163, allocations: 276.8 kB / 0.494 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FunctionAlias: time 3.021e-05/0.0042, allocations: 15.92 kB / 0.494 GB, free: 11.23 MB / 430.1 MB Notification: Performance of Early Inline: time 0.0001363/0.004343, allocations: 132.2 kB / 0.4941 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simplify1: time 1.661e-05/0.004366, allocations: 4 kB / 0.4941 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Alias: time 6.4e-05/0.004434, allocations: 60.56 kB / 0.4942 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simplify2: time 7.244e-06/0.004447, allocations: 8 kB / 0.4942 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Events: time 2.691e-05/0.004478, allocations: 11.98 kB / 0.4942 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Detect States: time 0.0001377/0.004622, allocations: 56.16 kB / 0.4942 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Partitioning: time 6.453e-05/0.004694, allocations: 32.11 kB / 0.4943 GB, free: 10.84 MB / 430.1 MB Notification: Performance of Causalize: time 0.0003133/0.005013, allocations: 156.2 kB / 0.4944 GB, free: 10.68 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001216/0.005144, allocations: 136.2 kB / 0.4946 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Inline: time 0.0001883/0.005339, allocations: 196.2 kB / 0.4947 GB, free: 10.3 MB / 430.1 MB Notification: Performance of Partitioning: time 1.741e-05/0.005363, allocations: 12.12 kB / 0.4948 GB, free: 10.28 MB / 430.1 MB Notification: Performance of Cleanup: time 1.441e-05/0.005383, allocations: 11.98 kB / 0.4948 GB, free: 10.27 MB / 430.1 MB Notification: Performance of Causalize: time 0.0004244/0.005812, allocations: 355.7 kB / 0.4951 GB, free: 9.918 MB / 430.1 MB Notification: Performance of Tearing: time 7.093e-06/0.00583, allocations: 0 / 0.4951 GB, free: 9.918 MB / 430.1 MB Notification: Performance of Initialization: time 3.21e-07/0.005835, allocations: 0 / 0.4951 GB, free: 9.918 MB / 430.1 MB Notification: Performance of Tearing: time 1.032e-06/0.00584, allocations: 0 / 0.4951 GB, free: 9.918 MB / 430.1 MB Notification: Performance of Categorize: time 6.212e-06/0.00585, allocations: 0 / 0.4951 GB, free: 9.918 MB / 430.1 MB Notification: Performance of Solve: time 0.000139/0.005994, allocations: 79.84 kB / 0.4952 GB, free: 9.84 MB / 430.1 MB Notification: Performance of Jacobian: time 0.0003626/0.006364, allocations: 362 kB / 0.4955 GB, free: 9.441 MB / 430.1 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 3.619e-05/0.00641, allocations: 20.39 kB / 0.4955 GB, free: 9.43 MB / 430.1 MB Notification: Performance of SimCode: time 0.0007935/0.007208, allocations: 1.035 MB / 0.4966 GB, free: 8.359 MB / 430.1 MB Notification: Performance of Templates: time 0.002659/0.009878, allocations: 468 kB / 0.497 GB, free: 7.938 MB / 430.1 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches