Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.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_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",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.0642/0.0642, allocations: 12.03 MB / 27.66 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.0009381/0.0009382, allocations: 108 kB / 31.38 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.001043/0.001043, allocations: 196.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.228/1.228, allocations: 222.9 MB / 261.8 MB, free: 10.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1535/0.1535, allocations: 13.68 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.2816/0.2816, allocations: 19.64 MB / 471.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07387/0.3555, allocations: 55.41 MB / 0.515 GB, free: 13.24 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_fmu_inputs): time 0.04562/0.4011, allocations: 60.63 MB / 0.5742 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02874/0.4299, allocations: 16.28 MB / 0.5901 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01005/0.44, allocations: 0.4946 MB / 0.5906 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04717/0.4872, allocations: 31.11 MB / 0.6209 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.5044, allocations: 8.088 MB / 0.6288 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009554/0.514, allocations: 5.369 MB / 0.6341 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2353/0.7493, allocations: 26.76 MB / 0.6602 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03924/0.7886, allocations: 43.82 MB / 0.703 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01859/0.8072, allocations: 12.91 MB / 0.7156 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02052/0.8278, allocations: 16.12 MB / 0.7313 GB, free: 2.219 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.008199/0.836, allocations: 4.059 MB / 0.7353 GB, free: 14.16 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.8469, allocations: 5.39 MB / 0.7406 GB, free: 8.914 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01594/0.8629, allocations: 15.13 MB / 0.7553 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02315/0.8861, allocations: 17.32 MB / 0.7723 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05481/0.9409, allocations: 59.01 MB / 0.8299 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9409, allocations: 0 / 0.8299 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9409, allocations: 0 / 0.8299 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.001338/0.9423, allocations: 0 / 0.8299 GB, free: 14.67 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: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.07969/1.022, allocations: 34.87 MB / 0.8639 GB, free: 11.84 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.022, allocations: 8.031 kB / 0.8639 GB, free: 11.84 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01192/1.034, allocations: 4.551 MB / 0.8684 GB, free: 7.355 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4213/1.455, allocations: 7.863 MB / 0.8761 GB, free: 218.7 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04586/1.501, allocations: 25.55 MB / 0.901 GB, free: 209.3 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001136/1.502, allocations: 1.792 MB / 0.9028 GB, free: 208.5 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007425/1.51, allocations: 2.451 MB / 0.9051 GB, free: 207.8 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09831/1.608, allocations: 57.07 MB / 0.9609 GB, free: 158.9 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001044/1.609, allocations: 234.4 kB / 0.9611 GB, free: 158.7 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006374/1.616, allocations: 1.051 MB / 0.9621 GB, free: 157.7 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008421/1.624, allocations: 6.492 MB / 0.9685 GB, free: 151.3 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07786/1.702, allocations: 47.23 MB / 1.015 GB, free: 104.1 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.4584/2.16, allocations: 224.8 MB / 1.234 GB, free: 75.85 MB / 0.6389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05863/2.219, allocations: 27.65 MB / 1.261 GB, free: 64.71 MB / 0.6389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01494/2.234, allocations: 16.72 MB / 1.277 GB, free: 55.38 MB / 0.6389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/2.235, allocations: 1.297 MB / 1.279 GB, free: 54.33 MB / 0.6389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05097/2.286, allocations: 20.34 MB / 1.299 GB, free: 42.9 MB / 0.6389 GB Notification: Performance of pre-optimization done (n=891): time 1.092e-05/2.286, allocations: 0 / 1.299 GB, free: 42.9 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