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.06516/0.06516, allocations: 12.03 MB / 27.67 MB, free: 1.883 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.001007/0.001007, allocations: 92.06 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.001131/0.001131, 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.262/1.262, allocations: 222.9 MB / 261.8 MB, free: 10.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1502/0.1502, allocations: 13.66 MB / 328.5 MB, free: 2.809 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.2766/0.2766, allocations: 19.65 MB / 471.9 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07204/0.3487, allocations: 55.41 MB / 0.515 GB, free: 13.25 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.04518/0.3939, allocations: 57.36 MB / 0.571 GB, free: 20 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02916/0.423, allocations: 16.57 MB / 0.5872 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009147/0.4322, allocations: 478.4 kB / 0.5876 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03963/0.4719, allocations: 24.8 MB / 0.6118 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01936/0.4913, allocations: 8.695 MB / 0.6203 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.5016, allocations: 5.646 MB / 0.6258 GB, free: 9.867 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2598/0.7614, allocations: 28.52 MB / 0.6537 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03888/0.8003, allocations: 39.59 MB / 0.6924 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02604/0.8264, allocations: 13.28 MB / 0.7053 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01996/0.8464, allocations: 15.26 MB / 0.7202 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007979/0.8544, allocations: 3.973 MB / 0.7241 GB, free: 13.72 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.8652, allocations: 5.86 MB / 0.7298 GB, free: 8.008 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.01485/0.8801, allocations: 14.58 MB / 0.7441 GB, free: 9.602 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02199/0.9021, allocations: 17.24 MB / 0.7609 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05725/0.9594, allocations: 59.51 MB / 0.819 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.9594, allocations: 0 / 0.819 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9595, allocations: 0 / 0.819 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00128/0.9607, allocations: 8 kB / 0.819 GB, free: 14 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.07411/1.035, allocations: 33.87 MB / 0.8521 GB, free: 12.25 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.035, allocations: 8.031 kB / 0.8521 GB, free: 12.24 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01066/1.046, allocations: 3.87 MB / 0.8559 GB, free: 8.48 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04106/1.087, allocations: 8.139 MB / 0.8638 GB, free: 328 kB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4977/1.584, allocations: 26.25 MB / 0.8895 GB, free: 117.6 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009327/1.585, allocations: 1.637 MB / 0.8911 GB, free: 117.6 MB / 0.6233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006698/1.592, allocations: 2.215 MB / 0.8932 GB, free: 117.5 MB / 0.6233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09229/1.684, allocations: 59.67 MB / 0.9515 GB, free: 83.33 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008563/1.685, allocations: 253.2 kB / 0.9517 GB, free: 83.16 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004122/1.689, allocations: 0.9695 MB / 0.9527 GB, free: 82.31 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009875/1.699, allocations: 8.45 MB / 0.9609 GB, free: 73.98 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07905/1.778, allocations: 48.01 MB / 1.008 GB, free: 26.77 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.5017/2.28, allocations: 246.8 MB / 1.249 GB, free: 138.9 MB / 0.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06054/2.341, allocations: 27.75 MB / 1.276 GB, free: 131.5 MB / 0.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01611/2.357, allocations: 17.44 MB / 1.293 GB, free: 121.7 MB / 0.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/2.359, allocations: 2.599 MB / 1.296 GB, free: 119.3 MB / 0.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05357/2.413, allocations: 20.81 MB / 1.316 GB, free: 108.5 MB / 0.717 GB Notification: Performance of pre-optimization done (n=838): time 1.165e-05/2.413, allocations: 0 / 1.316 GB, free: 108.5 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