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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009491/0.0009492, allocations: 110.3 kB / 18.41 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 192.6 kB / 19.35 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/2.929e-05, allocations: 2.281 kB / 409.8 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002802/0.002854, allocations: 1.444 MB / 411.3 MB, free: 25.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005502/0.003418, allocations: 407.1 kB / 411.7 MB, free: 24.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.003463, allocations: 0 / 411.7 MB, free: 24.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.003503, allocations: 7.922 kB / 411.7 MB, free: 24.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.003556, allocations: 15.92 kB / 411.7 MB, free: 24.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.003725, allocations: 11.92 kB / 411.7 MB, free: 24.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.375e-05/0.003806, allocations: 43.8 kB / 411.7 MB, free: 24.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003913, allocations: 11.98 kB / 411.8 MB, free: 24.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.003995, allocations: 15.98 kB / 411.8 MB, free: 24.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.00405, allocations: 11.92 kB / 411.8 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.004069, allocations: 4 kB / 411.8 MB, free: 24.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.004083, allocations: 0 / 411.8 MB, free: 24.62 MB / 302.1 MB Notification: Performance of combineBinaries: time 5.761e-05/0.004145, allocations: 59.42 kB / 411.8 MB, free: 24.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.969e-06/0.00416, allocations: 31.47 kB / 411.9 MB, free: 24.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.00418, allocations: 7.938 kB / 411.9 MB, free: 24.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.188e-05/0.004196, allocations: 0 / 411.9 MB, free: 24.53 MB / 302.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.0002483/0.004448, allocations: 280.4 kB / 412.2 MB, free: 24.15 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.325e-05/0.004518, allocations: 15.98 kB / 412.2 MB, free: 24.14 MB / 302.1 MB Notification: Performance of Early Inline: time 7.232e-05/0.004595, allocations: 100.3 kB / 412.3 MB, free: 24.01 MB / 302.1 MB Notification: Performance of simplify1: time 1.956e-05/0.004621, allocations: 11.98 kB / 412.3 MB, free: 24 MB / 302.1 MB Notification: Performance of Alias: time 0.0002019/0.004827, allocations: 116.9 kB / 412.4 MB, free: 23.84 MB / 302.1 MB Notification: Performance of simplify2: time 7.164e-06/0.004842, allocations: 4 kB / 412.4 MB, free: 23.84 MB / 302.1 MB Notification: Performance of Events: time 7.164e-05/0.004918, allocations: 39.91 kB / 412.4 MB, free: 23.8 MB / 302.1 MB Notification: Performance of Detect States: time 7.444e-05/0.004999, allocations: 65.86 kB / 412.5 MB, free: 23.72 MB / 302.1 MB Notification: Performance of Partitioning: time 5.546e-05/0.005061, allocations: 48.23 kB / 412.5 MB, free: 23.66 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001679/0.005234, allocations: 208.5 kB / 412.8 MB, free: 23.44 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 8.338e-05/0.005325, allocations: 144.5 kB / 412.9 MB, free: 23.27 MB / 302.1 MB Notification: Performance of Inline: time 0.0001145/0.005445, allocations: 177 kB / 413.1 MB, free: 23.06 MB / 302.1 MB Notification: Performance of Partitioning: time 1.183e-05/0.005463, allocations: 12.12 kB / 413.1 MB, free: 23.04 MB / 302.1 MB Notification: Performance of Cleanup: time 1.223e-05/0.005481, allocations: 19.92 kB / 413.1 MB, free: 23.02 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001819/0.005667, allocations: 224.3 kB / 413.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of Tearing: time 5.801e-06/0.005681, allocations: 3.938 kB / 413.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of Initialization: time 2.9e-07/0.005686, allocations: 0 / 413.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of Tearing: time 9.11e-07/0.005691, allocations: 144 / 413.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of Categorize: time 8.707e-06/0.005704, allocations: 3.984 kB / 413.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of Solve: time 4.539e-05/0.005754, allocations: 27.91 kB / 413.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of Jacobian: time 2.775e-06/0.005762, allocations: 0 / 413.4 MB, free: 22.76 MB / 302.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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {hysteresis.y, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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 (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: ........... 8 (scalar:8, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.192e-05/0.005799, allocations: 25.62 kB / 413.4 MB, free: 22.75 MB / 302.1 MB Notification: Performance of SimCode: time 0.000347/0.00615, allocations: 0.8136 MB / 414.2 MB, free: 21.91 MB / 302.1 MB Notification: Performance of Templates: time 0.002417/0.008577, allocations: 0.5523 MB / 414.7 MB, free: 21.36 MB / 302.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.makefile (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) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches