Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 110.3 kB / 17.1 MB, free: 5.793 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.001742/0.001742, allocations: 193.3 kB / 18.03 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2638/0.2638, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.297e-05, allocations: 6.219 kB / 442.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002309/0.002342, allocations: 1.613 MB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.003091, allocations: 0.5112 MB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.003182, allocations: 4 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.003301, allocations: 11.86 kB / 444.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.003355, allocations: 15.86 kB / 444.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.003555, allocations: 39.89 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.003707, allocations: 87.77 kB / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.00384, allocations: 32.2 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.00389, allocations: 31.86 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.003961, allocations: 35.78 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.003989, allocations: 8 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.004008, allocations: 8 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of combineBinaries: time 8.484e-05/0.004097, allocations: 126.4 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.524e-05/0.004127, allocations: 78.78 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.004157, allocations: 11.94 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.094e-05/0.004191, allocations: 7.938 kB / 445 MB, free: 3.086 MB / 318.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.0004136/0.004609, allocations: 455.3 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.377e-05/0.004639, allocations: 19.89 kB / 445.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001126/0.004756, allocations: 176.3 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simplify1: time 1.919e-05/0.004781, allocations: 15.97 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of Alias: time 0.0004391/0.005224, allocations: 414.2 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplify2: time 1.289e-05/0.005247, allocations: 7.984 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001671/0.005422, allocations: 81.69 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of Events: time 7.04e-05/0.005502, allocations: 27.86 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of Partitioning: time 5.158e-05/0.005561, allocations: 40.11 kB / 446.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001637/0.005731, allocations: 160 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 8.334e-05/0.005821, allocations: 144.2 kB / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of Inline: time 0.0002017/0.006028, allocations: 257.4 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of Partitioning: time 1.672e-05/0.006053, allocations: 20.11 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of Cleanup: time 1.32e-05/0.006073, allocations: 15.94 kB / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002743/0.006351, allocations: 325 kB / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of Tearing: time 1.037e-05/0.006369, allocations: 0 / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of Initialization: time 3.21e-07/0.006376, allocations: 0 / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of Tearing: time 1.964e-06/0.006382, allocations: 4 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of Categorize: time 6.312e-06/0.006393, allocations: 4 kB / 447.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of Solve: time 6.237e-05/0.00646, allocations: 35.91 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0001331/0.006599, allocations: 222 kB / 447.4 MB, free: 364 kB / 318.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 4.429e-05/0.006649, allocations: 29.41 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of SimCode: time 0.0007209/0.007376, allocations: 0.9262 MB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of Templates: time 0.003295/0.01068, allocations: 0.6254 MB / 449 MB, free: 14.77 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches