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.03835/0.03835, allocations: 9.117 MB / 18.95 MB, free: 0.7148 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.005453/0.0438, allocations: 3.417 MB / 22.37 MB, free: 3.797 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.0005209/0.0005209, allocations: 87.5 kB / 23.2 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008199/0.001341, allocations: 446.8 kB / 23.63 MB, free: 2.535 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.0008761/0.0008761, allocations: 156.8 kB / 24.52 MB, free: 1.656 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002015, allocations: 479.4 kB / 24.99 MB, free: 1.184 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.89/0.89, allocations: 177.1 MB / 202.9 MB, free: 8.348 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1552/1.045, allocations: 53.66 MB / 256.5 MB, free: 5.367 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.04056/0.04056, allocations: 10.58 MB / 267.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009961/0.05053, allocations: 3.718 MB / 271.6 MB, free: 6.652 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.343e-06/1.343e-06, allocations: 0 / 272.8 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.082e-05, allocations: 6.25 kB / 272.8 MB, free: 5.363 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.04159/0.04161, allocations: 55.1 MB / 327.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2834/0.325, allocations: 16.81 MB / 344.8 MB, free: 1.793 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01233/0.3374, allocations: 0.5699 MB / 345.3 MB, free: 1.793 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03032/0.3677, allocations: 31.2 MB / 376.5 MB, free: 15.95 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02042/0.3881, allocations: 8.193 MB / 384.7 MB, free: 12.17 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.3984, allocations: 5.757 MB / 390.5 MB, free: 8.332 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03379/0.4322, allocations: 31.17 MB / 421.7 MB, free: 11.03 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04721/0.4794, allocations: 32.5 MB / 454.2 MB, free: 11.65 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04066/0.5201, allocations: 21.76 MB / 475.9 MB, free: 6.895 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02328/0.5434, allocations: 17.21 MB / 493.1 MB, free: 6.863 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01069/0.5541, allocations: 4.145 MB / 497.3 MB, free: 2.719 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.5683, allocations: 5.51 MB / 0.491 GB, free: 13.3 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.3409/0.9092, allocations: 14.33 MB / 0.505 GB, free: 72.98 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.0311/0.9403, allocations: 9.17 MB / 0.5139 GB, free: 72.98 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.04716/0.9874, allocations: 28.67 MB / 0.5419 GB, free: 70.99 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 2.201e-05/0.9875, allocations: 0.5 kB / 0.5419 GB, free: 70.99 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9875, allocations: 0.5 kB / 0.5419 GB, free: 70.99 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001374/0.9888, allocations: 0 / 0.5419 GB, free: 70.99 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.1443/1.133, allocations: 37.86 MB / 0.5789 GB, free: 57.62 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/1.133, allocations: 8.031 kB / 0.5789 GB, free: 57.61 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01927/1.152, allocations: 5.113 MB / 0.5839 GB, free: 54.59 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/1.176, allocations: 14.95 MB / 0.5985 GB, free: 42.21 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/1.177, allocations: 1.789 MB / 0.6003 GB, free: 40.51 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006619/1.184, allocations: 2.427 MB / 0.6026 GB, free: 38.2 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06341/1.247, allocations: 26.47 MB / 0.6285 GB, free: 11.54 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001113/1.249, allocations: 220.7 kB / 0.6287 GB, free: 11.41 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005276/1.254, allocations: 1.043 MB / 0.6297 GB, free: 10.45 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003953/1.258, allocations: 5.517 MB / 0.6351 GB, free: 5.004 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03555/1.293, allocations: 12.52 MB / 0.6473 GB, free: 9.242 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.3661/1.659, allocations: 151.2 MB / 0.795 GB, free: 70.5 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03178/1.691, allocations: 20.49 MB / 0.815 GB, free: 69.45 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00767/1.699, allocations: 2.767 MB / 0.8177 GB, free: 68.48 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/1.7, allocations: 0.7992 MB / 0.8185 GB, free: 67.91 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02752/1.728, allocations: 9.894 MB / 0.8282 GB, free: 61.79 MB / 0.495 GB Notification: Performance of pre-optimization done (n=837): time 3.35e-05/1.728, allocations: 1.203 kB / 0.8282 GB, free: 61.79 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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.557375332340598]