Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 218.7 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.97 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/2.906e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003202/0.003231, allocations: 1.609 MB / 0.4988 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.004315, allocations: 494.8 kB / 0.4993 GB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.004406, allocations: 3.938 kB / 0.4993 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.004542, allocations: 19.86 kB / 0.4993 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.004596, allocations: 7.875 kB / 0.4993 GB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.004791, allocations: 31.91 kB / 0.4994 GB, free: 5.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.004959, allocations: 95.75 kB / 0.4995 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.005113, allocations: 32.14 kB / 0.4995 GB, free: 5.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.005178, allocations: 35.86 kB / 0.4995 GB, free: 4.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.005272, allocations: 31.84 kB / 0.4996 GB, free: 4.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.005294, allocations: 8 kB / 0.4996 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.005312, allocations: 11.94 kB / 0.4996 GB, free: 4.93 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001563/0.005468, allocations: 146.4 kB / 0.4997 GB, free: 4.785 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 7.886e-05/0.005547, allocations: 106.6 kB / 0.4998 GB, free: 4.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.005573, allocations: 4 kB / 0.4998 GB, free: 4.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.902e-05/0.005602, allocations: 4 kB / 0.4998 GB, free: 4.672 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 [SIM] Bindings: time 0.0007283/0.006331, allocations: 479.4 kB / 0.5003 GB, free: 4.082 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.195e-05/0.006412, allocations: 47.88 kB / 0.5003 GB, free: 4.023 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002204/0.006633, allocations: 192.2 kB / 0.5005 GB, free: 3.809 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001307/0.006764, allocations: 88.64 kB / 0.5006 GB, free: 3.676 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0008734/0.007637, allocations: 405.5 kB / 0.501 GB, free: 3.184 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001095/0.007747, allocations: 72.72 kB / 0.501 GB, free: 3.066 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.315e-05/0.00781, allocations: 44.42 kB / 0.5011 GB, free: 2.996 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0002696/0.008079, allocations: 110.4 kB / 0.5012 GB, free: 2.836 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001162/0.008196, allocations: 40.48 kB / 0.5012 GB, free: 2.797 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001226/0.008318, allocations: 60.03 kB / 0.5013 GB, free: 2.73 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0002348/0.008553, allocations: 112.1 kB / 0.5014 GB, free: 2.613 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001265/0.008679, allocations: 128.3 kB / 0.5015 GB, free: 2.488 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0003878/0.009067, allocations: 201.8 kB / 0.5017 GB, free: 2.223 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0001886/0.009256, allocations: 175.8 kB / 0.5019 GB, free: 2.047 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.137e-05/0.009277, allocations: 12.12 kB / 0.5019 GB, free: 2.027 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 4.827e-05/0.009325, allocations: 35.91 kB / 0.5019 GB, free: 1.992 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0004211/0.009746, allocations: 238.6 kB / 0.5022 GB, free: 1.754 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.801e-05/0.009764, allocations: 11.94 kB / 0.5022 GB, free: 1.742 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.009765, allocations: 0 / 0.5022 GB, free: 1.742 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.839e-06/0.00977, allocations: 4 kB / 0.5022 GB, free: 1.738 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.463e-06/0.009771, allocations: 0 / 0.5022 GB, free: 1.738 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 9.127e-06/0.00978, allocations: 4 kB / 0.5022 GB, free: 1.734 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0001325/0.009913, allocations: 63.95 kB / 0.5022 GB, free: 1.672 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002139/0.01013, allocations: 218 kB / 0.5024 GB, free: 1.422 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 5.786e-05/0.01018, allocations: 29.72 kB / 0.5025 GB, free: 1.395 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005583/0.01074, allocations: 327.8 kB / 0.5028 GB, free: 1.051 MB / 366.1 MB Notification: Performance of Templates: time 0.004403/0.01515, allocations: 0.7072 MB / 0.5035 GB, free: 356 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.015165427699685]