Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",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.07269/0.07269, allocations: 12.03 MB / 27.67 MB, free: 1.875 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.001284/0.001284, allocations: 95.92 kB / 31.37 MB, free: 5 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.001464/0.001464, allocations: 192.5 kB / 35.21 MB, free: 1.18 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.605/1.605, allocations: 222.9 MB / 261.8 MB, free: 7.379 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06494/0.06494, allocations: 13.67 MB / 328.5 MB, free: 496 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.03861/0.03861, allocations: 20.04 MB / 472.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4522, allocations: 55.39 MB / 0.5153 GB, free: 20.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.06657/0.5188, allocations: 61.07 MB / 0.575 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04965/0.5685, allocations: 16.42 MB / 0.591 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02143/0.59, allocations: 0.4972 MB / 0.5915 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05828/0.6483, allocations: 31.12 MB / 0.6219 GB, free: 8.512 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02839/0.6768, allocations: 7.866 MB / 0.6296 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01463/0.6914, allocations: 5.408 MB / 0.6348 GB, free: 11.28 MB / 478.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04313/0.7346, allocations: 26.95 MB / 0.6612 GB, free: 416 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09538/0.83, allocations: 44 MB / 0.7041 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02812/0.8582, allocations: 13 MB / 0.7168 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.411/1.269, allocations: 16.12 MB / 0.7326 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01785/1.287, allocations: 4.071 MB / 0.7365 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02439/1.312, allocations: 5.399 MB / 0.7418 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02563/1.337, allocations: 14.91 MB / 0.7564 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03881/1.376, allocations: 17.38 MB / 0.7733 GB, free: 49.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07586/1.452, allocations: 59.18 MB / 0.8311 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/1.452, allocations: 0 / 0.8311 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.296e-06/1.452, allocations: 0 / 0.8311 GB, free: 13.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.003024/1.455, allocations: 0 / 0.8311 GB, free: 13.67 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.1162/1.571, allocations: 35.03 MB / 0.8654 GB, free: 13.65 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.571, allocations: 8.031 kB / 0.8654 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01714/1.589, allocations: 3.976 MB / 0.8692 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05022/1.639, allocations: 7.886 MB / 0.8769 GB, free: 1.891 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06169/1.701, allocations: 25.61 MB / 0.9019 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002686/1.703, allocations: 1.804 MB / 0.9037 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01427/1.718, allocations: 2.457 MB / 0.9061 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1787/1.896, allocations: 57.16 MB / 0.9619 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002039/1.898, allocations: 239.7 kB / 0.9622 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01308/1.912, allocations: 1.047 MB / 0.9632 GB, free: 9.492 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0139/1.925, allocations: 6.498 MB / 0.9695 GB, free: 3.062 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5258/2.451, allocations: 47.37 MB / 1.016 GB, free: 219.1 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.3208/2.772, allocations: 225.1 MB / 1.236 GB, free: 3.086 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4839/3.256, allocations: 27.79 MB / 1.263 GB, free: 207.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02173/3.278, allocations: 16.82 MB / 1.279 GB, free: 199.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001941/3.28, allocations: 1.295 MB / 1.28 GB, free: 198.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06258/3.342, allocations: 20.44 MB / 1.3 GB, free: 194 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.522e-05/3.343, allocations: 0 / 1.3 GB, free: 194 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