Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001897/0.001897, allocations: 103.6 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002226/0.002226, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.5 MB / 258.2 MB, free: 7.715 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2487/0.2487, allocations: 46.94 MB / 361.6 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.017e-05, allocations: 3.125 kB / 0.4974 GB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.005016/0.005046, allocations: 2.719 MB / 0.5001 GB, free: 4.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.007069, allocations: 0.6622 MB / 0.5007 GB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004218/0.007491, allocations: 11.94 kB / 0.5007 GB, free: 3.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.007786, allocations: 51.5 kB / 0.5008 GB, free: 3.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.008143, allocations: 91.12 kB / 0.5009 GB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.008404, allocations: 99.86 kB / 0.501 GB, free: 3.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006964/0.009101, allocations: 458.1 kB / 0.5014 GB, free: 2.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.00937, allocations: 75.34 kB / 0.5015 GB, free: 2.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.009658, allocations: 159.5 kB / 0.5016 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.009912, allocations: 143.3 kB / 0.5018 GB, free: 2.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.00998, allocations: 32 kB / 0.5018 GB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.01005, allocations: 36 kB / 0.5018 GB, free: 2.543 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006044/0.01065, allocations: 0.6152 MB / 0.5024 GB, free: 1.922 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002855/0.01094, allocations: 386.8 kB / 0.5028 GB, free: 1.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.011, allocations: 36 kB / 0.5028 GB, free: 1.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.3e-05/0.01106, allocations: 11.98 kB / 0.5028 GB, free: 1.492 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.001712/0.01277, allocations: 1.539 MB / 0.5043 GB, free: 15.82 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001896/0.01296, allocations: 177.2 kB / 0.5045 GB, free: 15.64 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008803/0.01384, allocations: 0.851 MB / 0.5053 GB, free: 14.76 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003385/0.01418, allocations: 216.3 kB / 0.5055 GB, free: 14.5 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.00225/0.01643, allocations: 1.387 MB / 0.5069 GB, free: 12.91 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000285/0.01671, allocations: 189.8 kB / 0.5071 GB, free: 12.68 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001374/0.01685, allocations: 104.2 kB / 0.5072 GB, free: 12.55 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002895/0.01714, allocations: 223.7 kB / 0.5074 GB, free: 12.28 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.000206/0.01735, allocations: 91.8 kB / 0.5075 GB, free: 12.19 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004967/0.01784, allocations: 363.9 kB / 0.5078 GB, free: 11.79 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001096/0.01894, allocations: 0.6994 MB / 0.5085 GB, free: 11.05 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007169/0.01965, allocations: 0.5932 MB / 0.5091 GB, free: 10.46 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0008883/0.02054, allocations: 413.6 kB / 0.5095 GB, free: 9.984 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0009798/0.02152, allocations: 0.8714 MB / 0.5103 GB, free: 9.109 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 4.17e-05/0.02156, allocations: 22.75 kB / 0.5104 GB, free: 9.078 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001377/0.0217, allocations: 147.8 kB / 0.5105 GB, free: 8.934 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001304/0.02301, allocations: 0.8885 MB / 0.5114 GB, free: 8.035 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001809/0.02319, allocations: 103.9 kB / 0.5115 GB, free: 7.934 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.02319, allocations: 0 / 0.5115 GB, free: 7.934 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003797/0.02357, allocations: 268.2 kB / 0.5117 GB, free: 7.629 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.18e-06/0.02357, allocations: 8.125 kB / 0.5117 GB, free: 7.621 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0001901/0.02376, allocations: 135.8 kB / 0.5119 GB, free: 7.488 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.523e-05/0.02378, allocations: 3.984 kB / 0.5119 GB, free: 7.484 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001072/0.02485, allocations: 0.7985 MB / 0.5126 GB, free: 6.688 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.002381/0.02723, allocations: 2.052 MB / 0.5146 GB, free: 4.438 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 6.392e-05/0.02729, allocations: 36.77 kB / 0.5147 GB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 0.001581/0.02888, allocations: 1.24 MB / 0.5159 GB, free: 3.148 MB / 382.1 MB Notification: Performance of Templates: time 0.2815/0.3103, allocations: 3.898 MB / 0.5197 GB, free: 28.3 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.502907947986387] 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.319562531018164 0.33207503 0.318340344 Calling exit ...