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.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.08928/0.08928, allocations: 12.18 MB / 28.53 MB, free: 1.375 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 107.8 kB / 34.41 MB, free: 2.301 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 195.7 kB / 40.38 MB, free: 4.465 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 225.6 MB / 271.8 MB, free: 4.75 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.06643/0.06643, allocations: 13.88 MB / 343.6 MB, free: 0.793 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02795/0.02795, allocations: 20.57 MB / 496.1 MB, free: 25.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1477, allocations: 58.44 MB / 0.5415 GB, free: 14.77 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.4163/0.5639, allocations: 60.87 MB / 0.6009 GB, free: 17.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04352/0.6075, allocations: 16.31 MB / 0.6169 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02028/0.6277, allocations: 0.4968 MB / 0.6174 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0509/0.6787, allocations: 31.41 MB / 0.648 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03124/0.7099, allocations: 8.085 MB / 0.6559 GB, free: 4.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01686/0.7267, allocations: 5.362 MB / 0.6612 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04847/0.7752, allocations: 26.73 MB / 0.6873 GB, free: 4.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06769/0.8429, allocations: 34.84 MB / 0.7213 GB, free: 2.305 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02878/0.8717, allocations: 12.96 MB / 0.7339 GB, free: 5.316 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03553/0.9072, allocations: 17.01 MB / 0.7506 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01428/0.9215, allocations: 4.059 MB / 0.7545 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0192/0.9407, allocations: 5.462 MB / 0.7599 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03082/0.9715, allocations: 15.4 MB / 0.7749 GB, free: 11.31 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.04025/1.012, allocations: 17.29 MB / 0.7918 GB, free: 9.938 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.7672/1.779, allocations: 59.01 MB / 0.8494 GB, free: 95.71 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.779, allocations: 0 / 0.8494 GB, free: 95.71 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.923e-06/1.779, allocations: 1.594 kB / 0.8494 GB, free: 95.71 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002432/1.781, allocations: 0 / 0.8494 GB, free: 95.71 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.1438/1.925, allocations: 34.73 MB / 0.8833 GB, free: 78.4 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.925, allocations: 7.906 kB / 0.8833 GB, free: 78.4 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02759/1.953, allocations: 4.554 MB / 0.8878 GB, free: 75.95 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04766/2.001, allocations: 7.864 MB / 0.8955 GB, free: 72 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05665/2.057, allocations: 25.55 MB / 0.9204 GB, free: 56.8 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001801/2.059, allocations: 1.793 MB / 0.9222 GB, free: 55.96 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01659/2.076, allocations: 2.458 MB / 0.9246 GB, free: 53.59 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1668/2.242, allocations: 57.05 MB / 0.9803 GB, free: 10.96 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002511/2.245, allocations: 237.4 kB / 0.9805 GB, free: 10.79 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01809/2.263, allocations: 1.047 MB / 0.9815 GB, free: 9.832 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01483/2.278, allocations: 6.499 MB / 0.9879 GB, free: 3.422 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1401/2.418, allocations: 47.23 MB / 1.034 GB, free: 4.812 MB / 0.6545 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.8027/3.221, allocations: 224.8 MB / 1.254 GB, free: 87.9 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06384/3.284, allocations: 26.89 MB / 1.28 GB, free: 60.9 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02022/3.305, allocations: 15.92 MB / 1.295 GB, free: 44.95 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/3.306, allocations: 1.3 MB / 1.297 GB, free: 43.54 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05972/3.366, allocations: 20.34 MB / 1.317 GB, free: 23.12 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=891): time 3.186e-05/3.366, allocations: 0 / 1.317 GB, free: 23.12 MB / 0.6858 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.3848881484009326] Failed to read output from testmodel.py, exit status != 0: 4.337416496127844 4.348236656 2.566494883 Calling exit ...