Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.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.001382/0.001382, 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.00149/0.00149, allocations: 205.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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2532/0.2532, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.57e-05/3.57e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.003261/0.003297, allocations: 1.461 MB / 0.4987 GB, free: 5.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.004289, allocations: 446.9 kB / 0.4991 GB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.004358, allocations: 3.938 kB / 0.4991 GB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.004391, allocations: 0 / 0.4991 GB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.004452, allocations: 15.86 kB / 0.4991 GB, free: 5.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.004744, allocations: 27.97 kB / 0.4992 GB, free: 5.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004895, allocations: 51.84 kB / 0.4992 GB, free: 5.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.005035, allocations: 8 kB / 0.4992 GB, free: 5.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.005231, allocations: 27.91 kB / 0.4992 GB, free: 5.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.005294, allocations: 15.92 kB / 0.4993 GB, free: 5.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.005311, allocations: 4 kB / 0.4993 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-05/0.00537, allocations: 8 kB / 0.4993 GB, free: 5.223 MB / 366.1 MB Notification: Performance of combineBinaries: time 9.369e-05/0.005464, allocations: 67.25 kB / 0.4993 GB, free: 5.156 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.243e-05/0.005496, allocations: 43.5 kB / 0.4994 GB, free: 5.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.00551, allocations: 4 kB / 0.4994 GB, free: 5.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-05/0.005527, allocations: 7.938 kB / 0.4994 GB, free: 5.102 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0005634/0.00609, allocations: 312.5 kB / 0.4997 GB, free: 4.676 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.745e-05/0.006158, allocations: 47.88 kB / 0.4997 GB, free: 4.617 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001954/0.006353, allocations: 132.3 kB / 0.4999 GB, free: 4.461 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 9.333e-05/0.006447, allocations: 68.73 kB / 0.4999 GB, free: 4.348 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0003882/0.006835, allocations: 148.8 kB / 0.5001 GB, free: 4.145 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.79e-05/0.006923, allocations: 72.73 kB / 0.5001 GB, free: 4.027 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.563e-05/0.006978, allocations: 48.41 kB / 0.5002 GB, free: 3.953 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001741/0.007152, allocations: 88.84 kB / 0.5003 GB, free: 3.812 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001009/0.007253, allocations: 43.88 kB / 0.5003 GB, free: 3.77 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000126/0.007379, allocations: 64.2 kB / 0.5004 GB, free: 3.691 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001584/0.007538, allocations: 80.09 kB / 0.5004 GB, free: 3.598 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001135/0.007651, allocations: 115.8 kB / 0.5006 GB, free: 3.484 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001839/0.007835, allocations: 121.1 kB / 0.5007 GB, free: 3.297 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0001388/0.007974, allocations: 143.9 kB / 0.5008 GB, free: 3.152 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.797e-05/0.007992, allocations: 20.05 kB / 0.5008 GB, free: 3.125 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.241e-05/0.008014, allocations: 20.17 kB / 0.5008 GB, free: 3.105 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0001877/0.008202, allocations: 100.1 kB / 0.5009 GB, free: 3 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.392e-05/0.008216, allocations: 4 kB / 0.5009 GB, free: 2.996 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.008216, allocations: 0 / 0.5009 GB, free: 2.996 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.124e-06/0.008223, allocations: 4 kB / 0.501 GB, free: 2.992 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 3.466e-06/0.008227, allocations: 7.938 kB / 0.501 GB, free: 2.984 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.166e-06/0.008235, allocations: 0 / 0.501 GB, free: 2.984 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0001125/0.008347, allocations: 55.95 kB / 0.501 GB, free: 2.93 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 1.059e-05/0.008358, allocations: 0 / 0.501 GB, free: 2.93 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: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {hysteresis.y, $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: ........... 5 (scalar:5, 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: ........... 6 (scalar:6, 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 4.756e-05/0.008406, allocations: 23.72 kB / 0.501 GB, free: 2.91 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005693/0.008975, allocations: 207.9 kB / 0.5012 GB, free: 2.688 MB / 366.1 MB Notification: Performance of Templates: time 0.003334/0.01231, allocations: 0.6228 MB / 0.5018 GB, free: 2.066 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.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.138407641090453]