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.06264/0.06264, allocations: 12.03 MB / 27.66 MB, free: 1.844 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.0009641/0.0009641, allocations: 96.05 kB / 31.37 MB, free: 4.957 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.001011/0.001012, allocations: 192.5 kB / 35.21 MB, free: 1.141 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.248/1.248, allocations: 222.9 MB / 261.8 MB, free: 7.375 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05691/0.05691, allocations: 13.68 MB / 328.5 MB, free: 480 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.02575/0.02575, allocations: 19.65 MB / 471.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2775, allocations: 55.4 MB / 0.5149 GB, free: 19.86 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.04713/0.3247, allocations: 60.63 MB / 0.5742 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03275/0.3575, allocations: 16.28 MB / 0.5901 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01239/0.3699, allocations: 0.4946 MB / 0.5905 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04726/0.4172, allocations: 31.12 MB / 0.6209 GB, free: 9.035 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01815/0.4353, allocations: 8.088 MB / 0.6288 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009683/0.445, allocations: 5.356 MB / 0.6341 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02988/0.4749, allocations: 26.77 MB / 0.6602 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04796/0.5229, allocations: 43.83 MB / 0.703 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01712/0.5401, allocations: 12.9 MB / 0.7156 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.241/0.7812, allocations: 16.09 MB / 0.7313 GB, free: 54.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01125/0.7924, allocations: 4.059 MB / 0.7353 GB, free: 54.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.8049, allocations: 5.391 MB / 0.7405 GB, free: 54.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01439/0.8193, allocations: 15.12 MB / 0.7553 GB, free: 54.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02212/0.8415, allocations: 17.32 MB / 0.7722 GB, free: 50.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04166/0.8832, allocations: 58.85 MB / 0.8297 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8832, allocations: 3.062 kB / 0.8297 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8832, allocations: 0 / 0.8297 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001359/0.8846, allocations: 0 / 0.8297 GB, free: 14.52 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: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.07402/0.9586, allocations: 34.13 MB / 0.863 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9587, allocations: 12.03 kB / 0.863 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01253/0.9712, allocations: 4.543 MB / 0.8675 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03728/1.009, allocations: 7.715 MB / 0.875 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04263/1.051, allocations: 25.45 MB / 0.8999 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/1.053, allocations: 1.793 MB / 0.9016 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008486/1.061, allocations: 2.45 MB / 0.904 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1091/1.17, allocations: 57.06 MB / 0.9597 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009874/1.171, allocations: 232.4 kB / 0.9599 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005542/1.177, allocations: 1.049 MB / 0.961 GB, free: 11.33 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009217/1.186, allocations: 6.496 MB / 0.9673 GB, free: 4.898 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2919/1.478, allocations: 47.22 MB / 1.013 GB, free: 218.5 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.2349/1.713, allocations: 224.4 MB / 1.233 GB, free: 6.617 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2809/1.994, allocations: 27.65 MB / 1.26 GB, free: 209 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01625/2.01, allocations: 16.71 MB / 1.276 GB, free: 201.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/2.011, allocations: 1.289 MB / 1.277 GB, free: 200.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04968/2.061, allocations: 20.34 MB / 1.297 GB, free: 195.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 1.706e-05/2.061, allocations: 0 / 1.297 GB, free: 195.4 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