Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.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) 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(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 113 kB / 17.75 MB, free: 5.305 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.001031/0.001031, allocations: 184.7 kB / 18.68 MB, free: 4.383 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.01e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002785/0.002823, allocations: 1.986 MB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.003712, allocations: 0.5648 MB / 354.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.003825, allocations: 15.88 kB / 354.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.003988, allocations: 43.53 kB / 354.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.004067, allocations: 27.67 kB / 354.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.004305, allocations: 71.84 kB / 354.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.004549, allocations: 235.2 kB / 354.9 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.004739, allocations: 80.2 kB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.004859, allocations: 75.66 kB / 355 MB, free: 184 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.004963, allocations: 79.55 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.004999, allocations: 12 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.005025, allocations: 12 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002109/0.00524, allocations: 312.2 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001004/0.005347, allocations: 216.7 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.005392, allocations: 35.88 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.886e-05/0.005425, allocations: 7.938 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 (32) * Number of variables: 32 (32) Notification: Performance of Bindings: time 0.000748/0.006179, allocations: 0.8952 MB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001395/0.006325, allocations: 86.56 kB / 356.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003287/0.006663, allocations: 383.5 kB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplify1: time 4.227e-05/0.006712, allocations: 35.94 kB / 357.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Alias: time 0.0008718/0.00759, allocations: 0.7621 MB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplify2: time 2.63e-05/0.007626, allocations: 27.95 kB / 357.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Events: time 7.278e-05/0.007705, allocations: 51.83 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001865/0.007897, allocations: 126.6 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001333/0.00804, allocations: 123.7 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003952/0.008441, allocations: 368.3 kB / 358.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001983/0.008647, allocations: 248.2 kB / 358.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Inline: time 0.0005761/0.00923, allocations: 0.653 MB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Partitioning: time 4.655e-05/0.009285, allocations: 50.38 kB / 359.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Cleanup: time 2.255e-05/0.009313, allocations: 23.91 kB / 359.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009453/0.01026, allocations: 0.9009 MB / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Tearing: time 7.294e-06/0.01028, allocations: 0 / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Initialization: time 3.11e-07/0.01029, allocations: 0 / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Tearing: time 1.974e-06/0.01029, allocations: 0 / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Categorize: time 1.419e-05/0.01031, allocations: 7.984 kB / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Solve: time 0.0001458/0.01046, allocations: 109.5 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004321/0.0109, allocations: 0.6273 MB / 361.1 MB, free: 9.582 MB / 302.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: ............... 3 * 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: ............................. 5 (5) {sine.phi, sinAM.phi, cosAM.phi, sinFM.phi, cosFM.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.986e-05/0.01096, allocations: 38.97 kB / 361.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009648/0.01193, allocations: 1.339 MB / 362.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of Templates: time 0.00404/0.01598, allocations: 1.296 MB / 363.8 MB, free: 6.844 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches