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.00154/0.00154, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001708/0.001708, allocations: 212.5 kB / 24.55 MB, free: 3.828 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2487/0.2487, allocations: 46.97 MB / 361.7 MB, free: 4.016 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.226e-05/2.226e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.004029/0.004051, allocations: 2.731 MB / 0.5001 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.005279, allocations: 0.6505 MB / 0.5007 GB, free: 3.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.0054, allocations: 4 kB / 0.5007 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.005569, allocations: 59.44 kB / 0.5008 GB, free: 3.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.005729, allocations: 91.17 kB / 0.5008 GB, free: 3.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.005907, allocations: 91.88 kB / 0.5009 GB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.006361, allocations: 458.1 kB / 0.5014 GB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.006562, allocations: 71.36 kB / 0.5014 GB, free: 3.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.006735, allocations: 159.5 kB / 0.5016 GB, free: 2.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.00691, allocations: 143.3 kB / 0.5017 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.006966, allocations: 36 kB / 0.5018 GB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.007026, allocations: 32 kB / 0.5018 GB, free: 2.727 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0005524/0.007578, allocations: 0.6269 MB / 0.5024 GB, free: 2.094 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002567/0.007835, allocations: 379 kB / 0.5028 GB, free: 1.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.007891, allocations: 32 kB / 0.5028 GB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.38e-05/0.007935, allocations: 12 kB / 0.5028 GB, free: 1.676 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.001654/0.009589, allocations: 1.535 MB / 0.5043 GB, free: 12 kB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002055/0.009794, allocations: 181.2 kB / 0.5045 GB, free: 15.82 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008944/0.01069, allocations: 0.8432 MB / 0.5053 GB, free: 14.95 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003356/0.01102, allocations: 216.3 kB / 0.5055 GB, free: 14.69 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.00214/0.01316, allocations: 1.379 MB / 0.5069 GB, free: 13.11 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002503/0.01341, allocations: 206.7 kB / 0.5071 GB, free: 12.86 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001134/0.01353, allocations: 96.31 kB / 0.5071 GB, free: 12.74 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002287/0.01376, allocations: 223.1 kB / 0.5074 GB, free: 12.47 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001802/0.01394, allocations: 99.73 kB / 0.5075 GB, free: 12.37 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003983/0.01433, allocations: 356 kB / 0.5078 GB, free: 11.98 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.000961/0.0153, allocations: 0.6956 MB / 0.5085 GB, free: 11.25 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005792/0.01587, allocations: 0.5939 MB / 0.509 GB, free: 10.65 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0006167/0.01649, allocations: 412.8 kB / 0.5094 GB, free: 10.18 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0008786/0.01737, allocations: 0.8792 MB / 0.5103 GB, free: 9.297 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 3.91e-05/0.01741, allocations: 22.75 kB / 0.5103 GB, free: 9.266 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001354/0.01754, allocations: 151.8 kB / 0.5105 GB, free: 9.117 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.00119/0.01874, allocations: 0.8807 MB / 0.5113 GB, free: 8.227 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001593/0.01889, allocations: 111.8 kB / 0.5114 GB, free: 8.117 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.01889, allocations: 0 / 0.5114 GB, free: 8.117 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003575/0.01925, allocations: 272.3 kB / 0.5117 GB, free: 7.809 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.901e-06/0.01926, allocations: 192 / 0.5117 GB, free: 7.809 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.000137/0.0194, allocations: 127.8 kB / 0.5118 GB, free: 7.684 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.173e-05/0.01941, allocations: 0 / 0.5118 GB, free: 7.684 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001071/0.02048, allocations: 0.8218 MB / 0.5126 GB, free: 6.863 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.002079/0.02256, allocations: 2.035 MB / 0.5146 GB, free: 4.629 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.245e-05/0.02261, allocations: 27.5 kB / 0.5146 GB, free: 4.605 MB / 382.1 MB Notification: Performance of SimCode: time 0.001506/0.02412, allocations: 1.248 MB / 0.5159 GB, free: 3.34 MB / 382.1 MB Notification: Performance of Templates: time 0.224/0.2481, allocations: 3.898 MB / 0.5197 GB, free: 27.94 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.170499976025894] 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.2558093969710171 0.26775840100000003 0.25707297300000004 Calling exit ...