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.06327/0.06327, allocations: 12.03 MB / 27.66 MB, free: 1.867 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.0009199/0.00092, allocations: 100 kB / 31.37 MB, free: 4.969 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.001055/0.001055, allocations: 192.4 kB / 35.21 MB, free: 1.148 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.241/1.241, allocations: 222.9 MB / 261.8 MB, free: 7.363 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05653/0.05653, allocations: 13.67 MB / 328.5 MB, free: 488 kB / 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.02438/0.02438, allocations: 19.67 MB / 471.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2686, allocations: 55.38 MB / 0.515 GB, free: 20.45 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.04973/0.3184, allocations: 61.1 MB / 0.5746 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03198/0.3504, allocations: 16.42 MB / 0.5907 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01184/0.3622, allocations: 0.4985 MB / 0.5911 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04873/0.411, allocations: 31.12 MB / 0.6215 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01813/0.4292, allocations: 8.121 MB / 0.6295 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009914/0.4391, allocations: 5.416 MB / 0.6348 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03107/0.4702, allocations: 26.96 MB / 0.6611 GB, free: 244 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04571/0.5159, allocations: 43.93 MB / 0.704 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/0.5334, allocations: 12.97 MB / 0.7166 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2316/0.765, allocations: 16.17 MB / 0.7324 GB, free: 54.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01085/0.7759, allocations: 4.078 MB / 0.7364 GB, free: 54.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.789, allocations: 5.402 MB / 0.7417 GB, free: 54.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01544/0.8045, allocations: 15.16 MB / 0.7565 GB, free: 54.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02437/0.8289, allocations: 17.39 MB / 0.7735 GB, free: 49.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04931/0.8782, allocations: 59.18 MB / 0.8313 GB, free: 13.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.8783, allocations: 3.938 kB / 0.8313 GB, free: 13.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8783, allocations: 0 / 0.8313 GB, free: 13.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001488/0.8798, allocations: 0 / 0.8313 GB, free: 13.48 MB / 0.545 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.08351/0.9633, allocations: 35.04 MB / 0.8655 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.9634, allocations: 8.031 kB / 0.8655 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01263/0.976, allocations: 3.976 MB / 0.8694 GB, free: 9.379 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04188/1.018, allocations: 7.882 MB / 0.8771 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04967/1.068, allocations: 25.62 MB / 0.9021 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001566/1.069, allocations: 1.796 MB / 0.9038 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009314/1.079, allocations: 2.459 MB / 0.9062 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1181/1.197, allocations: 57.17 MB / 0.9621 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009984/1.198, allocations: 242.3 kB / 0.9623 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006071/1.204, allocations: 1.05 MB / 0.9633 GB, free: 9.105 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009789/1.214, allocations: 6.49 MB / 0.9697 GB, free: 2.684 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2837/1.497, allocations: 47.37 MB / 1.016 GB, free: 219.3 MB / 0.67 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.2273/1.725, allocations: 225.1 MB / 1.236 GB, free: 3.555 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2634/1.988, allocations: 27.82 MB / 1.263 GB, free: 208.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01623/2.004, allocations: 16.8 MB / 1.279 GB, free: 200.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/2.006, allocations: 1.301 MB / 1.281 GB, free: 199.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05373/2.059, allocations: 20.44 MB / 1.301 GB, free: 194.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 1.402e-05/2.059, allocations: 2.625 kB / 1.301 GB, free: 194.5 MB / 0.67 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