Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001662, allocations: 109.7 kB / 17.09 MB, free: 6.004 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.001692/0.001692, allocations: 200.2 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2813/0.2813, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.202e-05/4.202e-05, allocations: 5.656 kB / 442.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.003679/0.003735, allocations: 1.443 MB / 443.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.004809, allocations: 461.9 kB / 444.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.004881, allocations: 0 / 444.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.004938, allocations: 3.984 kB / 444.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.005011, allocations: 7.875 kB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.005318, allocations: 15.98 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.005444, allocations: 35.86 kB / 444.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.005599, allocations: 15.98 kB / 444.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.00573, allocations: 19.92 kB / 444.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.005812, allocations: 15.92 kB / 444.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.005846, allocations: 4 kB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.005867, allocations: 4 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of combineBinaries: time 8.999e-05/0.005962, allocations: 51.33 kB / 444.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.464e-05/0.005981, allocations: 27.56 kB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.006014, allocations: 15.94 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.996e-05/0.006039, allocations: 3.984 kB / 444.5 MB, free: 3.625 MB / 318.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.0003956/0.00644, allocations: 268.5 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.93e-05/0.006546, allocations: 23.88 kB / 444.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001424/0.006697, allocations: 96.38 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simplify1: time 3.263e-05/0.006739, allocations: 11.98 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of Alias: time 0.0003515/0.007096, allocations: 124.7 kB / 445 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simplify2: time 1.051e-05/0.007116, allocations: 7.984 kB / 445 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Events: time 9.819e-05/0.00722, allocations: 43.89 kB / 445.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001253/0.007354, allocations: 52.22 kB / 445.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of Partitioning: time 7.245e-05/0.007434, allocations: 52.23 kB / 445.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001809/0.00762, allocations: 148.5 kB / 445.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001032/0.007732, allocations: 144.5 kB / 445.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Inline: time 0.0001423/0.007881, allocations: 180.3 kB / 445.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Partitioning: time 1.277e-05/0.007901, allocations: 16.06 kB / 445.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of Cleanup: time 1.367e-05/0.007919, allocations: 11.94 kB / 445.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001706/0.008094, allocations: 152.5 kB / 445.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of Tearing: time 7.203e-06/0.00811, allocations: 4.234 kB / 445.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of Initialization: time 3.31e-07/0.008116, allocations: 0 / 445.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of Tearing: time 8.61e-07/0.008123, allocations: 4 kB / 445.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of Categorize: time 1.085e-05/0.008139, allocations: 0 / 445.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of Solve: time 5.543e-05/0.008199, allocations: 31.84 kB / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of Jacobian: time 3.556e-06/0.008209, allocations: 0 / 445.9 MB, free: 1.984 MB / 318.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.885e-05/0.008252, allocations: 14.05 kB / 445.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of SimCode: time 0.000577/0.008834, allocations: 0.8253 MB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of Templates: time 0.003592/0.01244, allocations: 0.563 MB / 447.3 MB, free: 0.5742 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches