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.001067/0.001067, allocations: 115.2 kB / 18.47 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 209 kB / 19.42 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.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2602/0.2602, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.608e-05/3.609e-05, allocations: 6.219 kB / 481.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003967/0.004013, allocations: 1.622 MB / 483.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.005197, allocations: 0.5103 MB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.00534, allocations: 0 / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.0055, allocations: 15.8 kB / 484.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.005596, allocations: 19.88 kB / 484.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.005838, allocations: 31.89 kB / 484.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.006039, allocations: 83.81 kB / 484.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.006191, allocations: 40.22 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.006264, allocations: 31.84 kB / 484.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.006341, allocations: 31.8 kB / 484.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.006369, allocations: 4 kB / 484.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.006392, allocations: 8 kB / 484.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001202/0.006516, allocations: 118.5 kB / 484.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.096e-05/0.006563, allocations: 86.72 kB / 484.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.006601, allocations: 8 kB / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.667e-05/0.006653, allocations: 7.938 kB / 484.5 MB, free: 1.523 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.0005934/0.007251, allocations: 455.3 kB / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.237e-05/0.00729, allocations: 11.94 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001891/0.007484, allocations: 180.3 kB / 485.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simplify1: time 3.124e-05/0.007523, allocations: 19.97 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Alias: time 0.0006599/0.008189, allocations: 422.1 kB / 485.6 MB, free: 252 kB / 350.1 MB Notification: Performance of simplify2: time 1.566e-05/0.008217, allocations: 4 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of Detect States: time 0.0001974/0.00842, allocations: 78.44 kB / 485.7 MB, free: 156 kB / 350.1 MB Notification: Performance of Events: time 9.25e-05/0.008523, allocations: 31.91 kB / 485.7 MB, free: 124 kB / 350.1 MB Notification: Performance of Partitioning: time 8.291e-05/0.008614, allocations: 48.09 kB / 485.7 MB, free: 68 kB / 350.1 MB Notification: Performance of Causalize: time 0.0002321/0.008852, allocations: 140.1 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001421/0.009006, allocations: 152.2 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Inline: time 0.0003303/0.009345, allocations: 264.2 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Partitioning: time 3.809e-05/0.009395, allocations: 24.12 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Cleanup: time 1.606e-05/0.009417, allocations: 7.984 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Causalize: time 0.0004019/0.009826, allocations: 316.5 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of Tearing: time 1.704e-05/0.009853, allocations: 4 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Initialization: time 1.182e-06/0.009859, allocations: 0 / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Tearing: time 4.688e-06/0.00987, allocations: 3.984 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Categorize: time 8.356e-06/0.009883, allocations: 0 / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Solve: time 8.143e-05/0.009973, allocations: 39.95 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0001883/0.01017, allocations: 222 kB / 486.9 MB, free: 14.8 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 4.227e-05/0.01022, allocations: 18.62 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007321/0.01096, allocations: 0.9369 MB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.003242/0.01421, allocations: 0.6176 MB / 488.5 MB, free: 13.21 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