Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001124, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.001056/0.001056, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.365/1.365, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2372/0.2372, allocations: 44.2 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.014e-05, allocations: 2.844 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003304/0.003342, allocations: 1.603 MB / 472.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.004366, allocations: 494.8 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.004469, allocations: 0 / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.004606, allocations: 7.875 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.00467, allocations: 19.86 kB / 473.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.004887, allocations: 27.91 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.005105, allocations: 95.7 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.005272, allocations: 32.2 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.005336, allocations: 27.86 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.005414, allocations: 31.84 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.005451, allocations: 8 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.005472, allocations: 4 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001122/0.00559, allocations: 134.5 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.893e-05/0.005647, allocations: 82.66 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.005682, allocations: 15.94 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.28e-05/0.005719, allocations: 7.938 kB / 473.7 MB, free: 10.66 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.0006038/0.006328, allocations: 451.4 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.904e-05/0.006366, allocations: 19.94 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001879/0.00656, allocations: 184.3 kB / 474.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simplify1: time 2.236e-05/0.006589, allocations: 7.984 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of Alias: time 0.0006428/0.007238, allocations: 414.2 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplify2: time 1.5e-05/0.007265, allocations: 11.98 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001668/0.007437, allocations: 76.09 kB / 474.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of Events: time 7.989e-05/0.007525, allocations: 23.92 kB / 474.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of Partitioning: time 7.311e-05/0.007605, allocations: 56.08 kB / 474.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002087/0.00782, allocations: 148 kB / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001234/0.007952, allocations: 144.2 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Inline: time 0.0003053/0.008263, allocations: 265.3 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of Partitioning: time 2.848e-05/0.008301, allocations: 28.09 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Cleanup: time 1.619e-05/0.008323, allocations: 7.984 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of Causalize: time 0.0003737/0.008702, allocations: 319 kB / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of Tearing: time 1.317e-05/0.008732, allocations: 7.938 kB / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of Initialization: time 3.01e-07/0.008738, allocations: 0 / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of Tearing: time 1.483e-06/0.008744, allocations: 0 / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of Categorize: time 7.845e-06/0.008756, allocations: 0 / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of Solve: time 7.528e-05/0.008836, allocations: 43.95 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0001826/0.009025, allocations: 210 kB / 476.1 MB, free: 7.941 MB / 350.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.819e-05/0.009081, allocations: 33.95 kB / 476.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008731/0.00996, allocations: 0.9232 MB / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Templates: time 0.003236/0.01321, allocations: 0.6253 MB / 477.7 MB, free: 6.336 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches