Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.0738/0.0738, allocations: 12.18 MB / 28.53 MB, free: 1.391 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.001401/0.001401, allocations: 111.6 kB / 34.41 MB, free: 2.32 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.001514/0.001514, allocations: 224 kB / 40.4 MB, free: 4.441 MB / 26.18 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.585/1.585, allocations: 230.5 MB / 276.8 MB, free: 15.82 MB / 222.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.1074/0.1074, allocations: 13.88 MB / 349.8 MB, free: 11.35 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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_DeviceDrivers 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: 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,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02841/0.02841, allocations: 21.74 MB / 0.4939 GB, free: 17.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1325, allocations: 59.63 MB / 0.5521 GB, free: 5.75 MB / 398.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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.TestSystem): time 0.3355/0.468, allocations: 59.36 MB / 0.6101 GB, free: 19.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03646/0.5045, allocations: 17.14 MB / 0.6268 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01285/0.5173, allocations: 0.5653 MB / 0.6273 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05062/0.5679, allocations: 31.32 MB / 0.6579 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02331/0.5912, allocations: 8.181 MB / 0.6659 GB, free: 8.426 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.606, allocations: 5.911 MB / 0.6717 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04711/0.6532, allocations: 28.95 MB / 0.7 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0621/0.7153, allocations: 36.79 MB / 0.7359 GB, free: 1.207 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02565/0.7409, allocations: 13.83 MB / 0.7494 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03081/0.7717, allocations: 17.48 MB / 0.7665 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0145/0.7862, allocations: 4.867 MB / 0.7712 GB, free: 12.95 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01696/0.8032, allocations: 6.247 MB / 0.7773 GB, free: 6.703 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.02751/0.8307, allocations: 16.1 MB / 0.7931 GB, free: 6.562 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.03878/0.8695, allocations: 18.68 MB / 0.8113 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.6617/1.531, allocations: 66.86 MB / 0.8766 GB, free: 70.73 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.531, allocations: 0 / 0.8766 GB, free: 70.73 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.073e-06/1.531, allocations: 3.969 kB / 0.8766 GB, free: 70.73 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002334/1.534, allocations: 0 / 0.8766 GB, free: 70.73 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: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.1432/1.677, allocations: 35.81 MB / 0.9116 GB, free: 47.23 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.677, allocations: 7.625 kB / 0.9116 GB, free: 47.23 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02092/1.698, allocations: 3.932 MB / 0.9154 GB, free: 44.61 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04866/1.746, allocations: 7.876 MB / 0.9231 GB, free: 40.61 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0529/1.799, allocations: 27.35 MB / 0.9498 GB, free: 19.57 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001571/1.801, allocations: 1.786 MB / 0.9516 GB, free: 17.86 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01409/1.815, allocations: 2.435 MB / 0.9539 GB, free: 15.51 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1636/1.979, allocations: 59.58 MB / 1.012 GB, free: 2.332 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001762/1.98, allocations: 238.9 kB / 1.012 GB, free: 2.164 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01171/1.992, allocations: 1.044 MB / 1.013 GB, free: 1.207 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01202/2.004, allocations: 6.594 MB / 1.02 GB, free: 10.71 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1263/2.13, allocations: 50.07 MB / 1.069 GB, free: 9.297 MB / 0.7014 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.6944/2.825, allocations: 244 MB / 1.307 GB, free: 43.42 MB / 0.7014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.068/2.893, allocations: 28.48 MB / 1.335 GB, free: 14.81 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3247/3.217, allocations: 17.29 MB / 1.352 GB, free: 218.7 MB / 0.7014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002474/3.22, allocations: 1.301 MB / 1.353 GB, free: 217.8 MB / 0.7014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06983/3.29, allocations: 21.37 MB / 1.374 GB, free: 217.5 MB / 0.7014 GB Notification: Performance of pre-optimization done (n=892): time 2.755e-05/3.29, allocations: 0 / 1.374 GB, free: 217.5 MB / 0.7014 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.69134766003117] Failed to read output from testmodel.py, exit status != 0: 3.8231932017952204 3.833879109 2.300038491 Calling exit ...