Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001766/0.001766, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001644/0.001644, allocations: 210.5 kB / 24.55 MB, free: 3.723 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.94 MB / 359.7 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.454e-05, allocations: 8.75 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.004404/0.004428, allocations: 2.725 MB / 0.497 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.005783, allocations: 0.6505 MB / 0.4976 GB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.005918, allocations: 4 kB / 0.4976 GB, free: 6.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.006099, allocations: 59.44 kB / 0.4977 GB, free: 6.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.006266, allocations: 91.12 kB / 0.4978 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.006454, allocations: 95.86 kB / 0.4979 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.006949, allocations: 458.1 kB / 0.4983 GB, free: 5.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.007158, allocations: 79.3 kB / 0.4984 GB, free: 5.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.007327, allocations: 151.5 kB / 0.4985 GB, free: 5.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.007519, allocations: 143.3 kB / 0.4986 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.007575, allocations: 36 kB / 0.4987 GB, free: 5.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.063e-05/0.007635, allocations: 32 kB / 0.4987 GB, free: 5.508 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0005528/0.008188, allocations: 0.6269 MB / 0.4993 GB, free: 4.875 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002622/0.00845, allocations: 382.9 kB / 0.4997 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.008501, allocations: 32 kB / 0.4997 GB, free: 4.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.103e-05/0.008552, allocations: 15.94 kB / 0.4997 GB, free: 4.449 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.001701/0.01025, allocations: 1.539 MB / 0.5012 GB, free: 2.781 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001897/0.01044, allocations: 173.2 kB / 0.5014 GB, free: 2.602 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008747/0.01132, allocations: 0.8432 MB / 0.5022 GB, free: 1.73 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003122/0.01163, allocations: 212.3 kB / 0.5024 GB, free: 1.473 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.001991/0.01362, allocations: 1.379 MB / 0.5038 GB, free: 15.89 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002487/0.01387, allocations: 198.4 kB / 0.504 GB, free: 15.65 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001202/0.01399, allocations: 100.3 kB / 0.5041 GB, free: 15.53 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002328/0.01422, allocations: 223.1 kB / 0.5043 GB, free: 15.25 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001789/0.0144, allocations: 104.3 kB / 0.5044 GB, free: 15.15 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004397/0.01484, allocations: 357 kB / 0.5047 GB, free: 14.77 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.0009639/0.0158, allocations: 0.6956 MB / 0.5054 GB, free: 14.03 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000573/0.01638, allocations: 0.5932 MB / 0.506 GB, free: 13.43 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0005929/0.01697, allocations: 409.6 kB / 0.5064 GB, free: 12.96 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0008569/0.01783, allocations: 0.8754 MB / 0.5072 GB, free: 12.09 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 4.197e-05/0.01787, allocations: 22.75 kB / 0.5072 GB, free: 12.05 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001466/0.01802, allocations: 151.8 kB / 0.5074 GB, free: 11.91 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001199/0.01922, allocations: 0.8807 MB / 0.5082 GB, free: 11.01 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001724/0.01939, allocations: 119.8 kB / 0.5084 GB, free: 10.89 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.6e-07/0.01939, allocations: 0 / 0.5084 GB, free: 10.89 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003455/0.01973, allocations: 272.2 kB / 0.5086 GB, free: 10.59 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.22e-06/0.01974, allocations: 192 / 0.5086 GB, free: 10.59 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0001345/0.01987, allocations: 119.9 kB / 0.5087 GB, free: 10.47 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.005e-05/0.01988, allocations: 0 / 0.5087 GB, free: 10.47 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001036/0.02092, allocations: 0.8206 MB / 0.5095 GB, free: 9.652 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.002157/0.02308, allocations: 2.047 MB / 0.5115 GB, free: 7.406 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.169e-05/0.02313, allocations: 27.64 kB / 0.5116 GB, free: 7.383 MB / 382.1 MB Notification: Performance of SimCode: time 0.00158/0.02471, allocations: 1.244 MB / 0.5128 GB, free: 6.121 MB / 382.1 MB Notification: Performance of Templates: time 0.008562/0.03327, allocations: 3.909 MB / 0.5166 GB, free: 2.234 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.096303754020482] 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.041748471034225076 0.270364398 0.259170667 Calling exit ...