Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 220.8 kB / 24.5 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2543/0.2543, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|twoWay.LossPower|twoWay.p.i|twoWay.n1.v|twoWay.n1.i|twoWay.n2.v|twoWay.n2.i|controlledTwoWay.LossPower|controlledTwoWay.p.i|controlledTwoWay.n1.v|controlledTwoWay.n1.i|controlledTwoWay.n2.v|controlledTwoWay.n2.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") translateModel(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|twoWay.LossPower|twoWay.p.i|twoWay.n1.v|twoWay.n1.i|twoWay.n2.v|twoWay.n2.i|controlledTwoWay.LossPower|controlledTwoWay.p.i|controlledTwoWay.n1.v|controlledTwoWay.n1.i|controlledTwoWay.n2.v|controlledTwoWay.n2.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.792e-05, allocations: 10.16 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.004748/0.004776, allocations: 2.721 MB / 0.4999 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.006257, allocations: 0.6505 MB / 0.5006 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.006407, allocations: 11.94 kB / 0.5006 GB, free: 3.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.006618, allocations: 59.44 kB / 0.5006 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.006821, allocations: 95.09 kB / 0.5007 GB, free: 3.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.007018, allocations: 91.88 kB / 0.5008 GB, free: 3.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.007555, allocations: 450.1 kB / 0.5012 GB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.007795, allocations: 79.36 kB / 0.5013 GB, free: 3.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.007978, allocations: 163.5 kB / 0.5015 GB, free: 2.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.00821, allocations: 167.3 kB / 0.5016 GB, free: 2.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.008271, allocations: 32 kB / 0.5017 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.008339, allocations: 36 kB / 0.5017 GB, free: 2.715 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0007023/0.009041, allocations: 0.6152 MB / 0.5023 GB, free: 2.094 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003024/0.009344, allocations: 382.9 kB / 0.5027 GB, free: 1.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.009406, allocations: 32 kB / 0.5027 GB, free: 1.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.035e-05/0.009466, allocations: 11.98 kB / 0.5027 GB, free: 1.672 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: 68 (68) * Number of variables: 68 (68) Notification: Performance of [SIM] Bindings: time 0.002131/0.0116, allocations: 1.543 MB / 0.5042 GB, free: 0 / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002321/0.01183, allocations: 173.2 kB / 0.5044 GB, free: 15.82 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001085/0.01291, allocations: 0.8549 MB / 0.5052 GB, free: 14.94 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003886/0.0133, allocations: 240.3 kB / 0.5054 GB, free: 14.65 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002308/0.01561, allocations: 1.351 MB / 0.5068 GB, free: 13.1 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002934/0.0159, allocations: 210.7 kB / 0.507 GB, free: 12.85 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000136/0.01604, allocations: 100.3 kB / 0.5071 GB, free: 12.72 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002623/0.0163, allocations: 223.1 kB / 0.5073 GB, free: 12.45 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001959/0.0165, allocations: 104.6 kB / 0.5074 GB, free: 12.35 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004559/0.01695, allocations: 356 kB / 0.5077 GB, free: 11.96 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001014/0.01797, allocations: 0.7117 MB / 0.5084 GB, free: 11.21 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006097/0.01858, allocations: 0.5934 MB / 0.509 GB, free: 10.62 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0006534/0.01923, allocations: 424.9 kB / 0.5094 GB, free: 10.13 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0009081/0.02014, allocations: 0.8715 MB / 0.5102 GB, free: 9.258 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 4.535e-05/0.02018, allocations: 26.75 kB / 0.5103 GB, free: 9.223 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001496/0.02033, allocations: 151.8 kB / 0.5104 GB, free: 9.074 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001405/0.02174, allocations: 0.8941 MB / 0.5113 GB, free: 8.168 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001671/0.02191, allocations: 115.9 kB / 0.5114 GB, free: 8.055 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 9.02e-07/0.02191, allocations: 0 / 0.5114 GB, free: 8.055 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.232e-06/0.02191, allocations: 192 / 0.5114 GB, free: 8.055 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0002197/0.02213, allocations: 119.8 kB / 0.5115 GB, free: 7.938 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.365e-05/0.02215, allocations: 0 / 0.5115 GB, free: 7.938 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0006139/0.02276, allocations: 413.7 kB / 0.5119 GB, free: 7.535 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008175/0.02358, allocations: 0.6872 MB / 0.5126 GB, free: 6.75 MB / 382.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: ......... 5 * 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: ................. 8 (8) {booleanStep.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $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: ........... 23 (scalar:23, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 34 (scalar:34, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 5.172e-05/0.02363, allocations: 24.72 kB / 0.5126 GB, free: 6.727 MB / 382.1 MB Notification: Performance of SimCode: time 0.001506/0.02514, allocations: 1.195 MB / 0.5138 GB, free: 5.512 MB / 382.1 MB Notification: Performance of Templates: time 0.01122/0.03636, allocations: 4.045 MB / 0.5177 GB, free: 1.496 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.762040315195918] Failed to read output from testmodel.py, exit status != 0: ['time', 'twoWay.LossPower', 'twoWay.p.i', 'twoWay.n1.v', 'twoWay.n1.i', 'twoWay.n2.v', 'twoWay.n2.i', 'controlledTwoWay.LossPower', 'controlledTwoWay.p.i', 'controlledTwoWay.n1.v', 'controlledTwoWay.n1.i', 'controlledTwoWay.n2.v', 'controlledTwoWay.n2.i'] 0.3302525822073221 0.345170597 0.33244088 Calling exit ...