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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 109 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 189.3 kB / 23.72 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 225.6 MB / 252.3 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1923/0.1923, allocations: 44.92 MB / 352.4 MB, free: 12.29 MB / 286.1 MB " [Timeout remaining time 180] 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=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.557e-05, allocations: 2.281 kB / 495.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002411/0.002426, allocations: 1.625 MB / 497.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.003226, allocations: 0.4909 MB / 498 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.003294, allocations: 4 kB / 498 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.003399, allocations: 15.86 kB / 498 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.486e-05/0.003444, allocations: 11.88 kB / 498.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.003624, allocations: 39.88 kB / 498.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.003766, allocations: 83.77 kB / 498.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.003862, allocations: 28.16 kB / 498.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.003913, allocations: 27.92 kB / 498.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.003981, allocations: 43.7 kB / 498.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.003998, allocations: 12 kB / 498.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.00401, allocations: 4 kB / 498.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001136/0.004123, allocations: 138.5 kB / 498.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.436e-05/0.004168, allocations: 78.78 kB / 498.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.004191, allocations: 11.94 kB / 498.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.123e-05/0.004212, allocations: 7.984 kB / 498.5 MB, free: 15.3 MB / 366.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.0004816/0.004693, allocations: 412.2 kB / 498.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FunctionAlias: time 4.025e-05/0.004734, allocations: 38.72 kB / 499 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0001413/0.004875, allocations: 140.4 kB / 499.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Simplify 1: time 6.757e-05/0.004943, allocations: 56.41 kB / 499.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Alias: time 0.0005684/0.005511, allocations: 390.1 kB / 499.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Simplify 2: time 4.542e-05/0.005556, allocations: 48.41 kB / 499.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Remove Stream: time 4.073e-05/0.005597, allocations: 48.55 kB / 499.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001929/0.00579, allocations: 103.1 kB / 499.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Events: time 7.202e-05/0.005862, allocations: 27.92 kB / 499.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Partitioning: time 7.05e-05/0.005933, allocations: 48.09 kB / 499.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of Causalize: time 0.0002074/0.00614, allocations: 163.8 kB / 500 MB, free: 13.48 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 7.436e-05/0.006214, allocations: 79.92 kB / 0.4883 GB, free: 13.41 MB / 366.1 MB Notification: Performance of Simplify: time 0.0002017/0.006416, allocations: 153.7 kB / 0.4885 GB, free: 13.21 MB / 366.1 MB Notification: Performance of Inline: time 0.0001108/0.006527, allocations: 116 kB / 0.4886 GB, free: 13.09 MB / 366.1 MB Notification: Performance of Partitioning: time 1.584e-05/0.006543, allocations: 16.06 kB / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Cleanup: time 2.748e-05/0.00657, allocations: 35.97 kB / 0.4886 GB, free: 13.03 MB / 366.1 MB Notification: Performance of Causalize: time 0.0003538/0.006924, allocations: 290.3 kB / 0.4889 GB, free: 12.74 MB / 366.1 MB Notification: Performance of Tearing: time 9.378e-06/0.006933, allocations: 4 kB / 0.4889 GB, free: 12.74 MB / 366.1 MB Notification: Performance of Initialization: time 2.6e-07/0.006933, allocations: 0 / 0.4889 GB, free: 12.74 MB / 366.1 MB Notification: Performance of Remove Dummies: time 2.695e-06/0.006936, allocations: 0 / 0.4889 GB, free: 12.74 MB / 366.1 MB Notification: Performance of Tearing: time 8.52e-07/0.006937, allocations: 0 / 0.4889 GB, free: 12.74 MB / 366.1 MB Notification: Performance of Categorize: time 6.753e-06/0.006944, allocations: 4 kB / 0.4889 GB, free: 12.73 MB / 366.1 MB Notification: Performance of Solve: time 7.032e-05/0.007014, allocations: 39.92 kB / 0.4889 GB, free: 12.7 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0001699/0.007184, allocations: 218 kB / 0.4892 GB, free: 12.45 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) {} * Number of discrete variables: ................. 6 (6) {fallingEdge.y, fallingEdge.not_u, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, 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 (resizable: 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: ........... 18 (scalar:18, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.427e-05/0.007218, allocations: 29.81 kB / 0.4892 GB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006013/0.00782, allocations: 0.9169 MB / 0.4901 GB, free: 11.48 MB / 366.1 MB Notification: Performance of Templates: time 0.002776/0.0106, allocations: 0.6765 MB / 0.4907 GB, free: 10.8 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,integrator.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,const0.k,const0.y,const1.k,const1.y,fallingEdge.pre_u_start,integrator.initType,integrator.k,integrator.y,integrator.y_start,switch.u1,switch.u3,time [Calling sys.exit(0), Time elapsed: 3.89954271633178]