Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",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.06485/0.06485, allocations: 12.03 MB / 27.66 MB, free: 1.254 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.0009622/0.0009622, allocations: 104 kB / 31.37 MB, free: 4.492 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.00104/0.00104, allocations: 187.4 kB / 35.21 MB, free: 0.6719 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.25/1.25, allocations: 222.9 MB / 261.8 MB, free: 10.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1578/0.1578, allocations: 13.65 MB / 328.5 MB, free: 2.582 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.2791/0.2791, allocations: 19.63 MB / 471.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07371/0.3528, allocations: 55.41 MB / 0.515 GB, free: 13.3 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 controlModuleTest_fmu_inputs1.propellerRev.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 controlModuleTest_fmu_inputs1.propellerRev.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 controlModuleTest_fmu_inputs1.propellerRev3.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 controlModuleTest_fmu_inputs1.propellerRev3.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 controlModuleTest_fmu_inputs1.propellerRev1.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 controlModuleTest_fmu_inputs1.propellerRev1.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 controlModuleTest_fmu_inputs1.propellerRev2.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 controlModuleTest_fmu_inputs1.propellerRev2.bodyShape5.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.Examples.Visualize.ModuleTest_Dymola): time 0.0449/0.3977, allocations: 57.37 MB / 0.571 GB, free: 64 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03021/0.428, allocations: 16.56 MB / 0.5872 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009551/0.4376, allocations: 474.4 kB / 0.5876 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03858/0.4761, allocations: 24.81 MB / 0.6118 GB, free: 8.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0187/0.4949, allocations: 8.691 MB / 0.6203 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009831/0.5047, allocations: 5.654 MB / 0.6258 GB, free: 9.953 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2531/0.7578, allocations: 28.52 MB / 0.6537 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03948/0.7973, allocations: 39.58 MB / 0.6923 GB, free: 5.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02695/0.8243, allocations: 13.27 MB / 0.7053 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02119/0.8455, allocations: 15.25 MB / 0.7202 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009445/0.855, allocations: 3.973 MB / 0.7241 GB, free: 13.8 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/0.8681, allocations: 5.871 MB / 0.7298 GB, free: 8.086 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0176/0.8858, allocations: 14.58 MB / 0.744 GB, free: 9.691 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02272/0.9085, allocations: 17.24 MB / 0.7609 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05282/0.9613, allocations: 59.34 MB / 0.8188 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.9614, allocations: 0 / 0.8188 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.63e-06/0.9614, allocations: 3.984 kB / 0.8188 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.001713/0.9631, allocations: 3.469 kB / 0.8188 GB, free: 14.41 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.07267/1.036, allocations: 33.12 MB / 0.8512 GB, free: 13.46 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.036, allocations: 16.03 kB / 0.8512 GB, free: 13.44 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01024/1.046, allocations: 3.879 MB / 0.855 GB, free: 9.68 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03731/1.083, allocations: 7.971 MB / 0.8628 GB, free: 1.668 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5026/1.586, allocations: 26.15 MB / 0.8883 GB, free: 117.3 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/1.587, allocations: 1.631 MB / 0.8899 GB, free: 117.3 MB / 0.6233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007246/1.595, allocations: 2.216 MB / 0.8921 GB, free: 117.2 MB / 0.6233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09942/1.694, allocations: 59.67 MB / 0.9503 GB, free: 84.45 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009335/1.695, allocations: 244.8 kB / 0.9506 GB, free: 84.29 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004988/1.7, allocations: 0.9709 MB / 0.9515 GB, free: 83.44 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009076/1.709, allocations: 8.448 MB / 0.9598 GB, free: 75.12 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07792/1.787, allocations: 48.01 MB / 1.007 GB, free: 27.89 MB / 0.6233 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.5169/2.304, allocations: 246.4 MB / 1.247 GB, free: 139.7 MB / 0.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05817/2.362, allocations: 27.75 MB / 1.274 GB, free: 132.4 MB / 0.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01721/2.379, allocations: 17.45 MB / 1.291 GB, free: 122.6 MB / 0.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002293/2.382, allocations: 2.606 MB / 1.294 GB, free: 120.3 MB / 0.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05211/2.434, allocations: 20.79 MB / 1.314 GB, free: 109.4 MB / 0.717 GB Notification: Performance of pre-optimization done (n=838): time 1.718e-05/2.434, allocations: 0 / 1.314 GB, free: 109.4 MB / 0.717 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: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.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