Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.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.001401/0.001401, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001649/0.001649, allocations: 206.2 kB / 24.49 MB, free: 3.961 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.616/1.616, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2808/0.2808, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.708e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002468/0.002495, allocations: 0.8064 MB / 0.4981 GB, free: 6.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002494/0.002744, allocations: 47.89 kB / 0.4981 GB, free: 6.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.002835, allocations: 7.938 kB / 0.4981 GB, free: 6.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.002978, allocations: 7.922 kB / 0.4981 GB, free: 6.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.358e-05/0.003002, allocations: 3.938 kB / 0.4981 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.003138, allocations: 15.98 kB / 0.4981 GB, free: 6.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.003276, allocations: 43.91 kB / 0.4982 GB, free: 6.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.003416, allocations: 23.91 kB / 0.4982 GB, free: 6.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.003455, allocations: 15.94 kB / 0.4982 GB, free: 6.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.003523, allocations: 15.92 kB / 0.4982 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003542, allocations: 4 kB / 0.4982 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.003558, allocations: 7.938 kB / 0.4982 GB, free: 6.281 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001187/0.003677, allocations: 71.16 kB / 0.4983 GB, free: 6.211 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.384e-05/0.003721, allocations: 55.25 kB / 0.4984 GB, free: 6.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.003743, allocations: 4 kB / 0.4984 GB, free: 6.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-05/0.003769, allocations: 4 kB / 0.4984 GB, free: 6.148 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0006302/0.0044, allocations: 316.5 kB / 0.4987 GB, free: 5.719 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.988e-05/0.004469, allocations: 43.88 kB / 0.4987 GB, free: 5.664 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001406/0.00461, allocations: 104.3 kB / 0.4988 GB, free: 5.535 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000119/0.004729, allocations: 68.73 kB / 0.4989 GB, free: 5.422 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0006382/0.005367, allocations: 252.9 kB / 0.4991 GB, free: 5.094 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 9.032e-05/0.005458, allocations: 64.73 kB / 0.4992 GB, free: 4.984 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.215e-05/0.00551, allocations: 37.17 kB / 0.4992 GB, free: 4.922 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001871/0.005697, allocations: 80.86 kB / 0.4993 GB, free: 4.789 MB / 366.1 MB Notification: Performance of [SIM] Events: time 5.673e-05/0.005754, allocations: 23.86 kB / 0.4993 GB, free: 4.766 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.02e-05/0.005834, allocations: 28.11 kB / 0.4993 GB, free: 4.73 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001024/0.005936, allocations: 40.05 kB / 0.4994 GB, free: 4.684 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 4.306e-05/0.005979, allocations: 39.83 kB / 0.4994 GB, free: 4.645 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002236/0.006203, allocations: 137 kB / 0.4995 GB, free: 4.441 MB / 366.1 MB Notification: Performance of [INI] Inline: time 7.779e-05/0.006281, allocations: 59.95 kB / 0.4996 GB, free: 4.379 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.888e-05/0.0063, allocations: 12.12 kB / 0.4996 GB, free: 4.359 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.877e-05/0.006318, allocations: 15.94 kB / 0.4996 GB, free: 4.344 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0001854/0.006504, allocations: 104 kB / 0.4997 GB, free: 4.234 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.994e-05/0.006524, allocations: 12 kB / 0.4997 GB, free: 4.223 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.006524, allocations: 0 / 0.4997 GB, free: 4.223 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.438e-06/0.006528, allocations: 0 / 0.4997 GB, free: 4.223 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.32e-07/0.006529, allocations: 0 / 0.4997 GB, free: 4.223 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.803e-06/0.006536, allocations: 4 kB / 0.4997 GB, free: 4.219 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 7.425e-05/0.00661, allocations: 27.98 kB / 0.4998 GB, free: 4.191 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001928/0.006803, allocations: 182 kB / 0.4999 GB, free: 3.977 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {greaterEqualThreshold.y, $SEV_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: ........... 3 (scalar:3, 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: [Initialization] 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: ............ 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 7.183e-05/0.006875, allocations: 34.73 kB / 0.5 GB, free: 3.949 MB / 366.1 MB Notification: Performance of SimCode: time 0.0004676/0.007343, allocations: 227.9 kB / 0.5002 GB, free: 3.703 MB / 366.1 MB Notification: Performance of Templates: time 0.00355/0.01089, allocations: 438.8 kB / 0.5006 GB, free: 3.277 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.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.114578885026276]