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.07514/0.07514, allocations: 12.03 MB / 27.66 MB, free: 1.848 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.001435/0.001435, allocations: 104 kB / 31.37 MB, free: 4.973 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.001605/0.001605, 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.639/1.639, allocations: 222.9 MB / 261.8 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.205/0.205, allocations: 13.66 MB / 328.5 MB, free: 2.84 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.4303/0.4303, allocations: 20.12 MB / 472.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.5481, allocations: 55.41 MB / 0.5154 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.08811/0.6363, allocations: 61.07 MB / 0.5751 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04436/0.6807, allocations: 16.41 MB / 0.5911 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01816/0.6989, allocations: 0.4985 MB / 0.5916 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05721/0.7562, allocations: 31.12 MB / 0.622 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02637/0.7826, allocations: 7.861 MB / 0.6296 GB, free: 6.113 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.7962, allocations: 5.415 MB / 0.6349 GB, free: 0.6914 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 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. [/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. Notification: Performance of NFFlatten.flatten: time 0.4235/1.22, allocations: 26.94 MB / 0.6612 GB, free: 9.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07022/1.29, allocations: 43.95 MB / 0.7042 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02929/1.319, allocations: 13.07 MB / 0.7169 GB, free: 15.87 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03156/1.351, allocations: 16.12 MB / 0.7327 GB, free: 0.9453 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.01558/1.367, allocations: 4.07 MB / 0.7366 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02333/1.39, allocations: 5.395 MB / 0.7419 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02854/1.419, allocations: 14.91 MB / 0.7565 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.04025/1.459, allocations: 17.38 MB / 0.7734 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08861/1.548, allocations: 59.18 MB / 0.8312 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.548, allocations: 6.719 kB / 0.8312 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/1.548, allocations: 0 / 0.8312 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.002032/1.55, allocations: 4 kB / 0.8312 GB, free: 13.3 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.1183/1.668, allocations: 35.03 MB / 0.8655 GB, free: 10.3 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.668, allocations: 8.031 kB / 0.8655 GB, free: 10.29 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01995/1.688, allocations: 3.978 MB / 0.8693 GB, free: 6.395 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6609/2.349, allocations: 7.879 MB / 0.877 GB, free: 218.9 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05621/2.405, allocations: 25.62 MB / 0.9021 GB, free: 209.1 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001542/2.407, allocations: 1.797 MB / 0.9038 GB, free: 208.4 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01056/2.417, allocations: 2.457 MB / 0.9062 GB, free: 207.6 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1451/2.562, allocations: 57.17 MB / 0.962 GB, free: 157.4 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001752/2.564, allocations: 234.4 kB / 0.9623 GB, free: 157.2 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01213/2.576, allocations: 1.055 MB / 0.9633 GB, free: 156.2 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0106/2.587, allocations: 6.488 MB / 0.9696 GB, free: 149.8 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09921/2.686, allocations: 47.37 MB / 1.016 GB, free: 102.4 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.6875/3.374, allocations: 225.1 MB / 1.236 GB, free: 75.12 MB / 0.6389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06591/3.44, allocations: 27.81 MB / 1.263 GB, free: 63.92 MB / 0.6389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02037/3.46, allocations: 16.8 MB / 1.279 GB, free: 54.56 MB / 0.6389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/3.462, allocations: 1.307 MB / 1.281 GB, free: 53.5 MB / 0.6389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06305/3.525, allocations: 20.44 MB / 1.3 GB, free: 40.37 MB / 0.6389 GB Notification: Performance of pre-optimization done (n=901): time 2.753e-05/3.525, allocations: 0 / 1.3 GB, free: 40.37 MB / 0.6389 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