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.08067/0.08067, allocations: 12.18 MB / 31.8 MB, free: 1.352 MB / 19.63 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.001477/0.001477, allocations: 115.6 kB / 38.03 MB, free: 2.98 MB / 26.18 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.002156/0.002156, allocations: 208.4 kB / 44.38 MB, free: 5.375 MB / 34.91 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.564/1.564, allocations: 230.6 MB / 281.1 MB, free: 7.93 MB / 206.1 MB " [Timeout remaining time 178] 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.06296/0.06296, allocations: 13.89 MB / 354.5 MB, free: 4.09 MB / 270.1 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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="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.03543/0.03543, allocations: 20.57 MB / 0.4991 GB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3866, allocations: 59.68 MB / 0.5574 GB, free: 440 kB / 366.1 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.06951/0.4561, allocations: 59.31 MB / 0.6153 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04058/0.4967, allocations: 16.04 MB / 0.631 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0178/0.5145, allocations: 0.5714 MB / 0.6315 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06166/0.5762, allocations: 31.39 MB / 0.6622 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02788/0.604, allocations: 7.962 MB / 0.67 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01428/0.6183, allocations: 5.405 MB / 0.6752 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04416/0.6625, allocations: 27.34 MB / 0.7019 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3886/1.051, allocations: 30.41 MB / 0.7316 GB, free: 16.05 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02508/1.076, allocations: 13.01 MB / 0.7443 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0289/1.105, allocations: 16.95 MB / 0.7609 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01376/1.119, allocations: 4.04 MB / 0.7648 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01918/1.138, allocations: 5.437 MB / 0.7701 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02489/1.163, allocations: 15.29 MB / 0.7851 GB, free: 8.312 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0391/1.202, allocations: 17.14 MB / 0.8018 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.08891/1.291, allocations: 58.43 MB / 0.8589 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.291, allocations: 0 / 0.8589 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/1.291, allocations: 3.188 kB / 0.8589 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.001986/1.293, allocations: 4 kB / 0.8589 GB, free: 14.63 MB / 0.5919 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.1215/1.414, allocations: 34.98 MB / 0.8931 GB, free: 11.84 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.414, allocations: 8.625 kB / 0.8931 GB, free: 11.83 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0009566/1.415, allocations: 0.757 MB / 0.8938 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01691/1.432, allocations: 4.503 MB / 0.8982 GB, free: 6.629 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04506/1.477, allocations: 7.76 MB / 0.9058 GB, free: 14.9 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05783/1.535, allocations: 23.99 MB / 0.9292 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002157/1.537, allocations: 1.784 MB / 0.9309 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01059/1.548, allocations: 2.444 MB / 0.9333 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6699/2.218, allocations: 56.23 MB / 0.9882 GB, free: 227.8 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001637/2.22, allocations: 233.4 kB / 0.9885 GB, free: 227.7 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008506/2.228, allocations: 1.038 MB / 0.9895 GB, free: 227 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009258/2.237, allocations: 6.21 MB / 0.9955 GB, free: 224.6 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08658/2.324, allocations: 46.53 MB / 1.041 GB, free: 196.3 MB / 0.6858 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.5913/2.915, allocations: 222.6 MB / 1.258 GB, free: 127.4 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06205/2.977, allocations: 26.51 MB / 1.284 GB, free: 126.8 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02051/2.998, allocations: 16.04 MB / 1.3 GB, free: 126.2 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/2.999, allocations: 0.6299 MB / 1.301 GB, free: 126.1 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05733/3.057, allocations: 20.41 MB / 1.32 GB, free: 118.1 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=897): time 2.099e-05/3.057, allocations: 0 / 1.32 GB, free: 118.1 MB / 0.6858 GB [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.256010192912072] Failed to read output from testmodel.py, exit status != 0: 3.5574707849882543 3.574248328 2.279532228 Calling exit ...