Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.002086/0.002086, 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.001764/0.001764, allocations: 221.1 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.749/1.749, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2557/0.2557, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.755e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004762/0.00479, allocations: 2.65 MB / 0.4999 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.006602, allocations: 0.7712 MB / 0.5006 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.006773, allocations: 15.88 kB / 0.5006 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.007006, allocations: 63.38 kB / 0.5007 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.007265, allocations: 126.8 kB / 0.5008 GB, free: 3.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.007628, allocations: 119.8 kB / 0.5009 GB, free: 3.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.008222, allocations: 0.5373 MB / 0.5015 GB, free: 2.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.008532, allocations: 123.1 kB / 0.5016 GB, free: 2.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.008873, allocations: 219.2 kB / 0.5018 GB, free: 2.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.009109, allocations: 187.2 kB / 0.502 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.009177, allocations: 39.98 kB / 0.502 GB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.009281, allocations: 36 kB / 0.502 GB, free: 2.363 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0007625/0.01004, allocations: 0.7773 MB / 0.5028 GB, free: 1.578 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003463/0.01039, allocations: 0.4935 MB / 0.5033 GB, free: 1.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.01045, allocations: 43.94 kB / 0.5033 GB, free: 1.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.647e-05/0.0105, allocations: 15.98 kB / 0.5033 GB, free: 1.02 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: 96 (96) * Number of variables: 96 (96) Notification: Performance of [SIM] Bindings: time 0.002091/0.0126, allocations: 1.853 MB / 0.5051 GB, free: 15.03 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002387/0.01283, allocations: 221 kB / 0.5053 GB, free: 14.8 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001146/0.01398, allocations: 1.105 MB / 0.5064 GB, free: 13.67 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000331/0.01431, allocations: 228.3 kB / 0.5066 GB, free: 13.4 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002702/0.01701, allocations: 1.804 MB / 0.5084 GB, free: 11.38 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002124/0.01723, allocations: 165.8 kB / 0.5086 GB, free: 11.18 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001004/0.01733, allocations: 84.33 kB / 0.5086 GB, free: 11.07 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0003828/0.01771, allocations: 254.5 kB / 0.5089 GB, free: 10.77 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001057/0.01781, allocations: 51.77 kB / 0.5089 GB, free: 10.71 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003832/0.0182, allocations: 292.1 kB / 0.5092 GB, free: 10.41 MB / 382.1 MB Error: Internal error NBSorting.tarjan failed to sort system: System Variables (21/21) ************************** (1|1) [ALGB] (1) Real sine.y (2|2) [ALGB] (1) Real J2.a (3|3) [ALGB] (1) Real J1.a (4|4) [ALGB] (1) flow Real gear.support.tau = -(gear.flange_b.tau + (-J1.flange_b.tau)) (5|5) [STAT] (1) Real gear.phi_b (6|6) [ALGB] (1) flow Real J1.flange_b.tau (7|7) [ALGB] (1) flow Real fixed1.flange.tau (8|8) [DDER] (1) Real $DER.J1.w (9|9) [DDER] (1) Real $DER.J1.phi (10|10) [DER-] (1) Real $DER.J2.w (11|11) [DISC] (1) Boolean $TEV_0 (12|12) [ALGB] (1) flow Real gear.flange_b.tau (13|13) [DSTA] (1) Real gear.phi_a (14|14) [DDER] (1) Real $DER.J2.phi (15|15) [DSTA] (1) Real $DER.gear.phi_b (16|16) [DSTA] (1) Real $DER.gear.phi_a (17|17) [DSTA] (1) Real J2.phi (StateSelect = default) (18|18) [DSTA] (1) Real J1.phi (fixed = true, start = 0.0, StateSelect = default) (19|19) [DDER] (1) Real $DER.$DER.gear.phi_b (20|20) [DDER] (1) Real $DER.$DER.gear.phi_a (21|21) [DSTA] (1) Real J1.w (fixed = true, start = 0.0, StateSelect = default) System Equations (20/20) ************************** (1|1) [SCAL] (1) J1.w = $DER.J1.phi ($RES_SIM_46) (2|2) [SCAL] (1) sine.y = sine.offset + (if $TEV_0 then 0.0 else sine.amplitude * sin(sine.phase + 6.283185307179586 * (time - sine.startTime) * sine.f)) ($RES_SIM_50) (3|3) [SCAL] (1) J2.J * J2.a = -gear.flange_b.tau ($RES_SIM_35) (4|4) [SCAL] (1) J2.a = $DER.J2.w ($RES_SIM_36) (5|5) [SCAL] (1) 0.0 = gear.flange_b.tau - gear.ratio * J1.flange_b.tau ($RES_SIM_40) (6|6) [SCAL] (1) J2.w = $DER.J2.phi ($RES_SIM_37) (7|7) [SCAL] (1) $TEV_0 = time < sine.startTime ($RES_EVT_96) (8|8) [SCAL] (1) gear.phi_a = gear.ratio * gear.phi_b ($RES_SIM_41) (9|9) [SCAL] (1) gear.phi_b = J2.phi - fixed1.phi0 ($RES_SIM_42) (10|10) [SCAL] (1) gear.phi_a = J1.phi - fixed1.phi0 ($RES_SIM_43) (11|11) [SCAL] (1) J1.J * J1.a = sine.y + J1.flange_b.tau ($RES_SIM_44) (12|12) [SCAL] (1) gear.support.tau = -(gear.flange_b.tau - J1.flange_b.tau) ($RES_BND_87) (13|13) [SCAL] (1) gear.support.tau + fixed1.flange.tau + sine.y = 0.0 ($RES_SIM_64) (14|14) [SCAL] (1) J1.a = $DER.J1.w ($RES_SIM_45) (15|15) [SCAL] (1) $DER.gear.phi_a = gear.ratio * $DER.gear.phi_b ($RES_SIM_99) (16|16) [SCAL] (1) $DER.gear.phi_b = J2.w ($RES_SIM_100) (17|17) [SCAL] (1) $DER.gear.phi_a = J1.w ($RES_SIM_101) (18|18) [SCAL] (1) $DER.$DER.gear.phi_a = gear.ratio * $DER.$DER.gear.phi_b ($RES_SIM_102) (19|19) [SCAL] (1) $DER.$DER.gear.phi_b = J2.a ($RES_SIM_103) (20|20) [SCAL] (1) $DER.$DER.gear.phi_a = J1.a ($RES_SIM_104) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 2 var 2 --> eqn 19 var 3 --> eqn 11 var 4 --> eqn 12 var 5 --> eqn -1 var 6 --> eqn 5 var 7 --> eqn 13 var 8 --> eqn 14 var 9 --> eqn 1 var 10 --> eqn 4 var 11 --> eqn 7 var 12 --> eqn 3 var 13 --> eqn 8 var 14 --> eqn 6 var 15 --> eqn 16 var 16 --> eqn 15 var 17 --> eqn 9 var 18 --> eqn 10 var 19 --> eqn 18 var 20 --> eqn 20 var 21 --> eqn 17 equation to variable ********************** eqn 1 --> var 9 eqn 2 --> var 1 eqn 3 --> var 12 eqn 4 --> var 10 eqn 5 --> var 6 eqn 6 --> var 14 eqn 7 --> var 11 eqn 8 --> var 13 eqn 9 --> var 17 eqn 10 --> var 18 eqn 11 --> var 3 eqn 12 --> var 4 eqn 13 --> var 7 eqn 14 --> var 8 eqn 15 --> var 16 eqn 16 --> var 15 eqn 17 --> var 21 eqn 18 --> var 19 eqn 19 --> var 2 eqn 20 --> var 20 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.4868127638474107] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 0.028578189201653004 0.352267418 0.33866698900000003 Calling exit ...