Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008531/0.000853, allocations: 119 kB / 18.47 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008822/0.0008822, allocations: 209 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.099/1.099, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1668/0.1668, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.517e-05, allocations: 5.375 kB / 481.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.00186/0.001883, allocations: 1.463 MB / 483.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006512/0.002546, allocations: 482.8 kB / 483.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002593, allocations: 3.938 kB / 483.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.002619, allocations: 0 / 483.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.002658, allocations: 7.938 kB / 483.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.002837, allocations: 27.89 kB / 483.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.002928, allocations: 43.84 kB / 483.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.00301, allocations: 12 kB / 483.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.003107, allocations: 19.92 kB / 484 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.003157, allocations: 23.91 kB / 484 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.003172, allocations: 0 / 484 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.00321, allocations: 12 kB / 484 MB, free: 2.086 MB / 350.1 MB Notification: Performance of combineBinaries: time 4.816e-05/0.003263, allocations: 51.33 kB / 484 MB, free: 2.035 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.626e-05/0.003284, allocations: 43.41 kB / 484.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-06/0.003296, allocations: 0 / 484.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.586e-06/0.003309, allocations: 0 / 484.1 MB, free: 1.992 MB / 350.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.0002809/0.003594, allocations: 284.3 kB / 484.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.55e-05/0.003617, allocations: 11.95 kB / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001033/0.003725, allocations: 112.3 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simplify1: time 1.078e-05/0.003742, allocations: 7.984 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Alias: time 0.0001999/0.003946, allocations: 120.9 kB / 484.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simplify2: time 1.212e-05/0.003967, allocations: 3.984 kB / 484.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Events: time 7.502e-05/0.004046, allocations: 47.81 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of Detect States: time 7.371e-05/0.004126, allocations: 58.7 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Partitioning: time 5.247e-05/0.004187, allocations: 52.17 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001333/0.004326, allocations: 112.2 kB / 484.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 9.801e-05/0.004431, allocations: 140.5 kB / 485 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Inline: time 0.0001503/0.004587, allocations: 192.4 kB / 485.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of Partitioning: time 1.53e-05/0.004608, allocations: 20.05 kB / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Cleanup: time 7.735e-06/0.00462, allocations: 4 kB / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001573/0.004781, allocations: 144.3 kB / 485.4 MB, free: 424 kB / 350.1 MB Notification: Performance of Tearing: time 5.881e-06/0.004795, allocations: 0 / 485.4 MB, free: 424 kB / 350.1 MB Notification: Performance of Initialization: time 2.465e-06/0.004802, allocations: 0 / 485.4 MB, free: 424 kB / 350.1 MB Notification: Performance of Tearing: time 2.805e-06/0.00481, allocations: 11.94 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of Categorize: time 5.79e-06/0.004819, allocations: 0 / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of Solve: time 4.143e-05/0.004864, allocations: 23.97 kB / 485.4 MB, free: 388 kB / 350.1 MB Notification: Performance of Jacobian: time 2.184e-06/0.004872, allocations: 0 / 485.4 MB, free: 388 kB / 350.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: ........... 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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.249e-05/0.004898, allocations: 14.94 kB / 485.4 MB, free: 380 kB / 350.1 MB Notification: Performance of SimCode: time 0.0004612/0.005363, allocations: 0.8252 MB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Templates: time 0.002044/0.007417, allocations: 0.583 MB / 486.8 MB, free: 14.94 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches