Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03959/0.03959, allocations: 9.126 MB / 19.04 MB, free: 0.6602 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.007706/0.04729, allocations: 3.425 MB / 22.46 MB, free: 3.723 MB / 24.77 MB " [Timeout remaining time 180] 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.0008625/0.0008625, allocations: 87.3 kB / 23.31 MB, free: 2.883 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.00232, allocations: 455.5 kB / 23.76 MB, free: 2.438 MB / 24.77 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.001071/0.001071, allocations: 152.9 kB / 24.65 MB, free: 1.547 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002486, allocations: 478.9 kB / 25.12 MB, free: 1.078 MB / 24.77 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 0.9061/0.9061, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1332/1.039, allocations: 53.68 MB / 256.7 MB, free: 5.281 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.04318/0.04318, allocations: 10.58 MB / 268 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006477/0.04966, allocations: 3.714 MB / 271.8 MB, free: 6.543 MB / 266.7 MB " [Timeout remaining time 180] Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 273.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.794e-05, allocations: 5.969 kB / 273.1 MB, free: 5.242 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.04434/0.04437, allocations: 55.11 MB / 328.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2671/0.3114, allocations: 16.82 MB / 345 MB, free: 1.809 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0127/0.3241, allocations: 0.568 MB / 345.6 MB, free: 1.809 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02988/0.354, allocations: 31.95 MB / 377.5 MB, free: 15.94 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01717/0.3712, allocations: 8.206 MB / 385.7 MB, free: 12.11 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009192/0.3804, allocations: 6.162 MB / 391.9 MB, free: 7.062 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03198/0.4123, allocations: 32.56 MB / 424.4 MB, free: 8.359 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04202/0.4544, allocations: 32.61 MB / 457.1 MB, free: 8.867 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03293/0.4873, allocations: 21.74 MB / 478.8 MB, free: 4.129 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01982/0.5071, allocations: 17.45 MB / 496.2 MB, free: 4.18 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005939/0.5131, allocations: 4.141 MB / 0.4887 GB, free: 40 kB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007043/0.5201, allocations: 5.524 MB / 0.4941 GB, free: 10.62 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.278/0.7981, allocations: 14.34 MB / 0.5081 GB, free: 71.25 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.01761/0.8157, allocations: 9.17 MB / 0.517 GB, free: 71.25 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.02867/0.8444, allocations: 28.64 MB / 0.545 GB, free: 69.27 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.8444, allocations: 0 / 0.545 GB, free: 69.27 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8444, allocations: 0 / 0.545 GB, free: 69.27 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001336/0.8457, allocations: 0 / 0.545 GB, free: 69.27 MB / 458.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.07921/0.9249, allocations: 37.86 MB / 0.5819 GB, free: 55.01 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.925, allocations: 8.75 kB / 0.582 GB, free: 55 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/0.9429, allocations: 5.118 MB / 0.587 GB, free: 51.97 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/0.9656, allocations: 14.95 MB / 0.6016 GB, free: 39.71 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/0.9667, allocations: 1.788 MB / 0.6033 GB, free: 38.01 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00675/0.9735, allocations: 2.428 MB / 0.6057 GB, free: 35.7 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0507/1.024, allocations: 26.47 MB / 0.6315 GB, free: 8.836 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001063/1.025, allocations: 220.3 kB / 0.6317 GB, free: 8.707 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00452/1.03, allocations: 1.042 MB / 0.6328 GB, free: 7.746 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008313/1.038, allocations: 5.301 MB / 0.6379 GB, free: 2.484 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07693/1.115, allocations: 12.53 MB / 0.6502 GB, free: 6.727 MB / 474.9 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3311/1.446, allocations: 151.2 MB / 0.7979 GB, free: 74.36 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03218/1.478, allocations: 20.49 MB / 0.8179 GB, free: 71.52 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006222/1.484, allocations: 2.773 MB / 0.8206 GB, free: 68.92 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.486, allocations: 0.8083 MB / 0.8214 GB, free: 68.25 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0258/1.511, allocations: 9.893 MB / 0.831 GB, free: 60.45 MB / 0.495 GB Notification: Performance of pre-optimization done (n=837): time 1.65e-05/1.511, allocations: 0 / 0.831 GB, free: 60.45 MB / 0.495 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.3669785521924496]