Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 113.9 kB / 18.47 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001846/0.001846, allocations: 204.1 kB / 19.42 MB, free: 3.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.102/1.102, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1653/0.1653, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.454e-05, allocations: 2.281 kB / 481.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.001994/0.002016, allocations: 1.629 MB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.002736, allocations: 0.5103 MB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.002816, allocations: 7.938 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.365e-05/0.002915, allocations: 11.86 kB / 484.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.00296, allocations: 11.88 kB / 484.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.003113, allocations: 43.89 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003241, allocations: 75.83 kB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.003341, allocations: 32.2 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.003388, allocations: 35.8 kB / 484.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.003444, allocations: 31.84 kB / 484.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.003464, allocations: 4 kB / 484.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.003481, allocations: 8 kB / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of combineBinaries: time 8.538e-05/0.003571, allocations: 126.4 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.482e-05/0.003611, allocations: 86.77 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.003633, allocations: 4 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.38e-05/0.00366, allocations: 11.94 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0004009/0.004067, allocations: 443.4 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.686e-05/0.004099, allocations: 15.94 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000136/0.00424, allocations: 188.2 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simplify1: time 1.922e-05/0.004265, allocations: 11.98 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Alias: time 0.0004589/0.004736, allocations: 422.1 kB / 485.6 MB, free: 224 kB / 350.1 MB Notification: Performance of simplify2: time 9.959e-06/0.004755, allocations: 4 kB / 485.6 MB, free: 220 kB / 350.1 MB Notification: Performance of Events: time 6.321e-05/0.004823, allocations: 35.91 kB / 485.6 MB, free: 184 kB / 350.1 MB Notification: Performance of Detect States: time 0.000116/0.004945, allocations: 90.2 kB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of Partitioning: time 5.894e-05/0.005011, allocations: 48.09 kB / 485.7 MB, free: 24 kB / 350.1 MB Notification: Performance of Causalize: time 0.0001753/0.005191, allocations: 144.1 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001065/0.005305, allocations: 144.2 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Inline: time 0.0002307/0.005542, allocations: 268.3 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Partitioning: time 2.149e-05/0.005571, allocations: 24.11 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Cleanup: time 1.147e-05/0.005587, allocations: 7.984 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Causalize: time 0.0003193/0.005911, allocations: 320.5 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Tearing: time 6.602e-06/0.005925, allocations: 0 / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Initialization: time 2.435e-06/0.005933, allocations: 4 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Tearing: time 2.134e-06/0.005939, allocations: 3.984 kB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Categorize: time 5.44e-06/0.005948, allocations: 0 / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Solve: time 5.872e-05/0.006011, allocations: 31.97 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0001291/0.006145, allocations: 222 kB / 486.9 MB, free: 14.76 MB / 366.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: ............................. 1 (1) {integrator.y} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {fallingEdge.y, fallingEdge.not_u, $SEV_0, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 17 (scalar:17, 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 2.355e-05/0.006175, allocations: 12.42 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 0.0004668/0.006649, allocations: 0.9289 MB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Templates: time 0.002157/0.008815, allocations: 0.6253 MB / 488.5 MB, free: 13.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches