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.00181/0.00181, allocations: 111.1 kB / 17.09 MB, free: 5.98 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.002574/0.002574, allocations: 198.7 kB / 18.03 MB, free: 5.062 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.914/1.914, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2723/0.2723, allocations: 43.51 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.883e-05/3.884e-05, allocations: 5.938 kB / 442.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002867/0.002914, allocations: 1.623 MB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.003903, allocations: 0.5191 MB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004034, allocations: 0 / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.004205, allocations: 11.86 kB / 444.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.004262, allocations: 15.88 kB / 444.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.00452, allocations: 31.91 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004727, allocations: 99.67 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.004911, allocations: 32.22 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.004973, allocations: 23.92 kB / 444.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.005075, allocations: 31.8 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.005106, allocations: 4 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.005134, allocations: 12 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001489/0.005288, allocations: 130.4 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.037e-05/0.005343, allocations: 78.78 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.005386, allocations: 11.94 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.175e-05/0.005433, allocations: 7.938 kB / 445 MB, free: 3.102 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.0005731/0.006011, allocations: 451.3 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.336e-05/0.006052, allocations: 19.94 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001703/0.006227, allocations: 184.3 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of simplify1: time 2.661e-05/0.006259, allocations: 11.97 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of Alias: time 0.000715/0.00698, allocations: 426.1 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simplify2: time 1.091e-05/0.007003, allocations: 4 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of Events: time 0.000107/0.007116, allocations: 31.92 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002403/0.007363, allocations: 76.19 kB / 446.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of Partitioning: time 8.472e-05/0.007457, allocations: 40.11 kB / 446.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of Causalize: time 0.000236/0.007699, allocations: 160.2 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001252/0.007836, allocations: 136.5 kB / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of Inline: time 0.0003326/0.00818, allocations: 277.2 kB / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of Partitioning: time 2.63e-05/0.008214, allocations: 20.12 kB / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of Cleanup: time 2.089e-05/0.00824, allocations: 7.938 kB / 446.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003999/0.008648, allocations: 327.5 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Tearing: time 9.518e-06/0.008667, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Initialization: time 3.1e-07/0.008673, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Tearing: time 7.92e-07/0.008678, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Categorize: time 1.022e-05/0.008693, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Solve: time 8.942e-05/0.008788, allocations: 47.89 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of Jacobian: time 0.000229/0.009024, allocations: 210 kB / 447.4 MB, free: 376 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 5.548e-05/0.009089, allocations: 26.7 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of SimCode: time 0.001113/0.01021, allocations: 0.9113 MB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003986/0.01421, allocations: 0.6488 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