Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) 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.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05678/0.05678, allocations: 12.02 MB / 27.66 MB, free: 1.855 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 107.3 kB / 31.37 MB, free: 4.977 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 192.5 kB / 35.21 MB, free: 1.156 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 261.8 MB, free: 10.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1494/0.1494, allocations: 13.66 MB / 328.5 MB, free: 2.746 MB / 254.1 MB 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.278/0.278, allocations: 19.64 MB / 471.9 MB, free: 37.92 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07232/0.3504, allocations: 55.41 MB / 0.515 GB, free: 13.28 MB / 382.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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.04804/0.3984, allocations: 61.08 MB / 0.5746 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03083/0.4293, allocations: 16.42 MB / 0.5906 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01032/0.4396, allocations: 0.4946 MB / 0.5911 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04756/0.4872, allocations: 31.12 MB / 0.6215 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01781/0.5051, allocations: 8.123 MB / 0.6295 GB, free: 6.172 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009775/0.5148, allocations: 5.423 MB / 0.6348 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2443/0.7592, allocations: 26.93 MB / 0.6611 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03891/0.7981, allocations: 43.94 MB / 0.704 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01914/0.8173, allocations: 13 MB / 0.7167 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02098/0.8383, allocations: 16.17 MB / 0.7324 GB, free: 0.9609 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.008413/0.8467, allocations: 4.074 MB / 0.7364 GB, free: 12.88 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.8585, allocations: 5.405 MB / 0.7417 GB, free: 7.625 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01603/0.8746, allocations: 15.16 MB / 0.7565 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02277/0.8974, allocations: 17.38 MB / 0.7735 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05204/0.9494, allocations: 59.02 MB / 0.8311 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9495, allocations: 0 / 0.8311 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9495, allocations: 0 / 0.8311 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.001222/0.9507, allocations: 4 kB / 0.8311 GB, free: 13.48 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.07557/1.026, allocations: 34.3 MB / 0.8646 GB, free: 11.26 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.026, allocations: 12.03 kB / 0.8646 GB, free: 11.25 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01077/1.037, allocations: 3.977 MB / 0.8685 GB, free: 7.344 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4442/1.481, allocations: 7.724 MB / 0.8761 GB, free: 219.5 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04293/1.524, allocations: 25.52 MB / 0.901 GB, free: 209 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001204/1.526, allocations: 1.802 MB / 0.9027 GB, free: 208.3 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007421/1.533, allocations: 2.448 MB / 0.9051 GB, free: 207.5 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09035/1.623, allocations: 57.17 MB / 0.961 GB, free: 158.3 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001072/1.624, allocations: 234 kB / 0.9612 GB, free: 158 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004852/1.629, allocations: 1.055 MB / 0.9622 GB, free: 157.1 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007504/1.637, allocations: 6.493 MB / 0.9686 GB, free: 150.6 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07501/1.712, allocations: 47.37 MB / 1.015 GB, free: 103.3 MB / 0.6389 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.4548/2.167, allocations: 224.7 MB / 1.234 GB, free: 104.3 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05603/2.223, allocations: 27.81 MB / 1.261 GB, free: 93.98 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01572/2.239, allocations: 16.83 MB / 1.278 GB, free: 84.59 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/2.24, allocations: 1.29 MB / 1.279 GB, free: 83.54 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04997/2.29, allocations: 20.44 MB / 1.299 GB, free: 71.88 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=901): time 1.474e-05/2.29, allocations: 0 / 1.299 GB, free: 71.88 MB / 0.6545 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed