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.05519/0.05519, allocations: 12.18 MB / 31.03 MB, free: 1 MB / 18.57 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.000899/0.000899, allocations: 116.4 kB / 37.25 MB, free: 1.34 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.001076/0.001076, allocations: 210.5 kB / 43.58 MB, free: 3.277 MB / 33.03 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.082/1.082, allocations: 230.6 MB / 280.4 MB, free: 7.125 MB / 202.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.06269/0.06269, allocations: 13.89 MB / 353.7 MB, free: 15.09 MB / 282.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0345/0.0345, allocations: 30.18 MB / 0.5091 GB, free: 488 kB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3337, allocations: 59.69 MB / 0.5674 GB, free: 10.01 MB / 378.8 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.03887/0.3726, allocations: 50.23 MB / 0.6165 GB, free: 7.594 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.03478/0.4074, allocations: 15.73 MB / 0.6319 GB, free: 7.953 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01537/0.4228, allocations: 0.5714 MB / 0.6324 GB, free: 7.379 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03309/0.4558, allocations: 29.96 MB / 0.6617 GB, free: 9.355 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02075/0.4766, allocations: 7.992 MB / 0.6695 GB, free: 1.391 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.4875, allocations: 5.412 MB / 0.6748 GB, free: 11.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.3645/0.852, allocations: 27.32 MB / 0.7014 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04987/0.9018, allocations: 30.18 MB / 0.7309 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02467/0.9265, allocations: 13.02 MB / 0.7436 GB, free: 9.758 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02523/0.9517, allocations: 15.4 MB / 0.7587 GB, free: 5.363 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.01206/0.9638, allocations: 4.042 MB / 0.7626 GB, free: 5.363 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.9776, allocations: 5.283 MB / 0.7678 GB, free: 5.184 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.02073/0.9983, allocations: 15.29 MB / 0.7827 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02811/1.026, allocations: 12.99 MB / 0.7954 GB, free: 14.2 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.06174/1.088, allocations: 58.72 MB / 0.8527 GB, free: 4.457 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.088, allocations: 2.594 kB / 0.8527 GB, free: 4.457 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.625e-06/1.088, allocations: 0 / 0.8527 GB, free: 4.457 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.002244/1.09, allocations: 0 / 0.8527 GB, free: 4.457 MB / 0.573 GB 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.09387/1.184, allocations: 34.97 MB / 0.8869 GB, free: 1.664 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.184, allocations: 12.62 kB / 0.8869 GB, free: 1.652 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01694/1.201, allocations: 4.503 MB / 0.8913 GB, free: 13.22 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03286/1.234, allocations: 7.76 MB / 0.8989 GB, free: 5.488 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04697/1.281, allocations: 24.02 MB / 0.9223 GB, free: 14.47 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001622/1.283, allocations: 1.782 MB / 0.9241 GB, free: 12.77 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01025/1.293, allocations: 2.444 MB / 0.9265 GB, free: 10.41 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.685/1.978, allocations: 56.41 MB / 0.9816 GB, free: 207.6 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002165/1.98, allocations: 239.5 kB / 0.9818 GB, free: 207.5 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01112/1.991, allocations: 1.038 MB / 0.9828 GB, free: 206.8 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007375/1.999, allocations: 6.21 MB / 0.9889 GB, free: 204.4 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08057/2.079, allocations: 46.43 MB / 1.034 GB, free: 165.6 MB / 0.6669 GB 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.7169/2.796, allocations: 205.6 MB / 1.235 GB, free: 122.4 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0455/2.842, allocations: 26.46 MB / 1.261 GB, free: 121.8 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02024/2.862, allocations: 16.01 MB / 1.277 GB, free: 118 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/2.863, allocations: 0.5777 MB / 1.277 GB, free: 117.9 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04223/2.906, allocations: 20.39 MB / 1.297 GB, free: 111.1 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=891): time 2.768e-05/2.906, allocations: 0 / 1.297 GB, free: 111.1 MB / 0.6825 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.4785346845164895]