Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.001241, allocations: 110.7 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 207.9 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.126e-05, allocations: 2.281 kB / 359.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002903/0.002932, allocations: 2.007 MB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003967, allocations: 0.6466 MB / 362 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004083, allocations: 3.938 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.004249, allocations: 43.53 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.004338, allocations: 43.53 kB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.004634, allocations: 75.84 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.004902, allocations: 231.2 kB / 362.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.005119, allocations: 84.12 kB / 362.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.005302, allocations: 79.66 kB / 362.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005413, allocations: 83.48 kB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.005445, allocations: 12 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.005507, allocations: 16 kB / 362.6 MB, free: 9.684 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002152/0.005729, allocations: 324 kB / 363 MB, free: 9.363 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001128/0.005848, allocations: 216.6 kB / 363.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.005889, allocations: 35.88 kB / 363.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.07e-05/0.005925, allocations: 11.88 kB / 363.2 MB, free: 9.102 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.0008006/0.00673, allocations: 0.8954 MB / 364.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.884e-05/0.006835, allocations: 74.56 kB / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004044/0.007247, allocations: 435.4 kB / 364.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simplify1: time 3.413e-05/0.007289, allocations: 39.92 kB / 364.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of Alias: time 0.0009869/0.008282, allocations: 0.7609 MB / 365.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simplify2: time 2.549e-05/0.008317, allocations: 19.97 kB / 365.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of Events: time 8.84e-05/0.008412, allocations: 39.97 kB / 365.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of Detect States: time 0.000188/0.008608, allocations: 130.7 kB / 365.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001398/0.008756, allocations: 116.3 kB / 365.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of Causalize: time 0.000414/0.009177, allocations: 332.9 kB / 366 MB, free: 5.988 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002101/0.009398, allocations: 248.2 kB / 366.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of Inline: time 0.0006805/0.01009, allocations: 0.6954 MB / 367 MB, free: 4.988 MB / 302.1 MB Notification: Performance of Partitioning: time 4.642e-05/0.01014, allocations: 42.31 kB / 367 MB, free: 4.938 MB / 302.1 MB Notification: Performance of Cleanup: time 2.203e-05/0.01017, allocations: 19.97 kB / 367 MB, free: 4.918 MB / 302.1 MB Notification: Performance of Causalize: time 0.00103/0.0112, allocations: 0.8821 MB / 367.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of Tearing: time 1.02e-05/0.01122, allocations: 0 / 367.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of Initialization: time 3.41e-07/0.01123, allocations: 3.938 kB / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of Tearing: time 3.667e-06/0.01124, allocations: 4 kB / 367.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of Categorize: time 1.344e-05/0.01126, allocations: 7.984 kB / 367.9 MB, free: 4.004 MB / 302.1 MB Notification: Performance of Solve: time 0.0001471/0.01141, allocations: 93.61 kB / 368 MB, free: 3.914 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004507/0.01187, allocations: 0.6272 MB / 368.6 MB, free: 3.176 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: ........... 19 (scalar:19, 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: ........... 42 (scalar:42, 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 5.576e-05/0.01194, allocations: 28.83 kB / 368.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of SimCode: time 0.001253/0.0132, allocations: 1.34 MB / 370 MB, free: 1.746 MB / 302.1 MB Notification: Performance of Templates: time 0.004392/0.0176, allocations: 1.31 MB / 371.3 MB, free: 448 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches