Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 110.5 kB / 16.42 MB, free: 6.457 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.000896/0.000896, allocations: 190 kB / 17.36 MB, free: 5.707 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.236/1.236, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1771/0.1771, allocations: 39.96 MB / 310.5 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.188e-05, allocations: 2.281 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002083/0.002113, allocations: 1.43 MB / 437.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000598/0.002723, allocations: 457.9 kB / 438.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.002775, allocations: 0 / 438.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.002814, allocations: 3.938 kB / 438.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.002867, allocations: 7.938 kB / 438.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.003071, allocations: 15.97 kB / 438.3 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.003158, allocations: 39.84 kB / 438.3 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.00329, allocations: 12 kB / 438.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.003381, allocations: 27.92 kB / 438.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.003445, allocations: 19.91 kB / 438.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.003464, allocations: 4 kB / 438.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.003477, allocations: 0 / 438.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of combineBinaries: time 6.079e-05/0.003543, allocations: 51.42 kB / 438.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.278e-06/0.003558, allocations: 27.56 kB / 438.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.003576, allocations: 8 kB / 438.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.135e-05/0.003592, allocations: 3.938 kB / 438.5 MB, free: 9.68 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.000247/0.003843, allocations: 268.4 kB / 438.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.961e-05/0.003909, allocations: 23.88 kB / 438.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of Early Inline: time 8.061e-05/0.003995, allocations: 104.3 kB / 438.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of simplify1: time 1.895e-05/0.004023, allocations: 7.984 kB / 438.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of Alias: time 0.000188/0.004217, allocations: 116.9 kB / 439 MB, free: 8.996 MB / 318.1 MB Notification: Performance of simplify2: time 8.616e-06/0.004234, allocations: 11.92 kB / 439 MB, free: 8.984 MB / 318.1 MB Notification: Performance of Events: time 6.883e-05/0.004308, allocations: 43.89 kB / 439 MB, free: 8.941 MB / 318.1 MB Notification: Performance of Detect States: time 7.402e-05/0.004388, allocations: 65.7 kB / 439.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of Partitioning: time 4.796e-05/0.004442, allocations: 48.23 kB / 439.1 MB, free: 8.801 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001515/0.004599, allocations: 192.7 kB / 439.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 7.857e-05/0.004684, allocations: 152.8 kB / 439.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of Inline: time 0.0001065/0.004796, allocations: 180.3 kB / 439.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of Partitioning: time 1.168e-05/0.004818, allocations: 12.31 kB / 439.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of Cleanup: time 8.977e-06/0.004832, allocations: 11.98 kB / 439.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001663/0.005002, allocations: 228 kB / 439.9 MB, free: 7.949 MB / 318.1 MB Notification: Performance of Tearing: time 5.37e-06/0.005016, allocations: 4 kB / 439.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of Initialization: time 2.7e-07/0.00502, allocations: 0 / 439.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of Tearing: time 7.61e-07/0.005026, allocations: 0 / 439.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of Categorize: time 7.745e-06/0.005038, allocations: 4 kB / 439.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of Solve: time 4.137e-05/0.005083, allocations: 19.98 kB / 439.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of Jacobian: time 3.075e-06/0.005092, allocations: 0 / 439.9 MB, free: 7.922 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 2.882e-05/0.005124, allocations: 18.59 kB / 440 MB, free: 7.914 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003121/0.005442, allocations: 0.8331 MB / 440.8 MB, free: 7.062 MB / 318.1 MB Notification: Performance of Templates: time 0.002177/0.007628, allocations: 0.5486 MB / 441.3 MB, free: 6.516 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe 2>&1)