Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.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.001905/0.001905, 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.001876/0.001876, allocations: 189.7 kB / 23.72 MB, free: 5.262 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.225/1.225, allocations: 225.6 MB / 252.3 MB, free: 13.34 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.1822/0.1822, allocations: 44.92 MB / 352.4 MB, free: 12.2 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.795e-05, allocations: 2.281 kB / 495.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002225/0.002243, allocations: 1.439 MB / 497.4 MB, free: 488 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.002901, allocations: 427 kB / 497.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.002931, allocations: 0 / 497.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.002955, allocations: 3.938 kB / 497.8 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.003, allocations: 11.94 kB / 497.8 MB, free: 40 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.003137, allocations: 11.97 kB / 497.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.003234, allocations: 43.84 kB / 497.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.003313, allocations: 11.94 kB / 497.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.003382, allocations: 8 kB / 497.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.003432, allocations: 19.91 kB / 497.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.003445, allocations: 0 / 497.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.003452, allocations: 4 kB / 497.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of combineBinaries: time 7.181e-05/0.003524, allocations: 59.41 kB / 497.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.587e-05/0.00355, allocations: 39.45 kB / 498 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.003569, allocations: 11.94 kB / 498 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.023e-05/0.003579, allocations: 0 / 498 MB, free: 15.83 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 Bindings: time 0.000347/0.003926, allocations: 273.2 kB / 498.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FunctionAlias: time 6.135e-05/0.003987, allocations: 14.8 kB / 498.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0001077/0.004095, allocations: 88.45 kB / 498.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Simplify 1: time 5.726e-05/0.004152, allocations: 48.42 kB / 498.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Alias: time 0.0002874/0.00444, allocations: 132.7 kB / 498.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Simplify 2: time 4.531e-05/0.004485, allocations: 44.61 kB / 498.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Remove Stream: time 4.087e-05/0.004526, allocations: 44.42 kB / 498.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001738/0.0047, allocations: 85.78 kB / 498.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Events: time 7.171e-05/0.004772, allocations: 35.89 kB / 498.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Partitioning: time 7.894e-05/0.00485, allocations: 56.23 kB / 498.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001735/0.005024, allocations: 124.1 kB / 498.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 6.303e-05/0.005087, allocations: 63.94 kB / 499 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Simplify: time 0.0001181/0.005205, allocations: 96.94 kB / 499.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of Inline: time 7.991e-05/0.005285, allocations: 91.92 kB / 499.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Partitioning: time 1.41e-05/0.005299, allocations: 12.12 kB / 499.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of Cleanup: time 2.024e-05/0.005319, allocations: 19.98 kB / 499.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of Causalize: time 0.000193/0.005512, allocations: 144.4 kB / 499.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Tearing: time 8.045e-06/0.00552, allocations: 0 / 499.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Initialization: time 2.6e-07/0.005521, allocations: 0 / 499.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Remove Dummies: time 2.745e-06/0.005523, allocations: 0 / 499.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Tearing: time 2.665e-06/0.005526, allocations: 4 kB / 499.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Categorize: time 6.482e-06/0.005533, allocations: 0 / 499.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Solve: time 4.383e-05/0.005576, allocations: 15.98 kB / 499.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Jacobian: time 3.887e-06/0.00558, allocations: 4 kB / 499.4 MB, free: 14.05 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: ........... 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: [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 3.603e-05/0.005616, allocations: 28.94 kB / 499.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005267/0.006143, allocations: 0.8175 MB / 0.4885 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.002508/0.008651, allocations: 0.5292 MB / 0.489 GB, free: 12.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 3.8779623471200466]