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.075/0.075, allocations: 12.03 MB / 27.66 MB, free: 1.852 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.001298/0.001298, allocations: 96.05 kB / 31.38 MB, free: 4.949 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.00232/0.00232, allocations: 192.5 kB / 35.21 MB, free: 1.125 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.579/1.579, allocations: 222.9 MB / 261.8 MB, free: 7.449 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06581/0.06581, allocations: 13.68 MB / 328.5 MB, free: 484 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.03735/0.03735, allocations: 20.03 MB / 472.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3792, allocations: 55.39 MB / 0.5153 GB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.0672/0.4464, allocations: 57.34 MB / 0.5713 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05449/0.501, allocations: 16.57 MB / 0.5875 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02461/0.5257, allocations: 470.4 kB / 0.5879 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05199/0.5777, allocations: 24.81 MB / 0.6122 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03491/0.6128, allocations: 8.357 MB / 0.6203 GB, free: 10 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.6296, allocations: 5.653 MB / 0.6259 GB, free: 4.367 MB / 462.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.05579/0.6855, allocations: 28.53 MB / 0.6537 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07517/0.7607, allocations: 39.56 MB / 0.6924 GB, free: 0.7695 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02922/0.79, allocations: 12.37 MB / 0.7044 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03024/0.8203, allocations: 15.2 MB / 0.7193 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0159/0.8362, allocations: 3.973 MB / 0.7232 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4007/1.237, allocations: 5.857 MB / 0.7289 GB, free: 63.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0258/1.263, allocations: 14.34 MB / 0.7429 GB, free: 63.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04344/1.306, allocations: 17.24 MB / 0.7597 GB, free: 59.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07732/1.384, allocations: 59.51 MB / 0.8178 GB, free: 31.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/1.384, allocations: 2.531 kB / 0.8178 GB, free: 31.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.145e-06/1.384, allocations: 0 / 0.8178 GB, free: 31.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002297/1.386, allocations: 0 / 0.8178 GB, free: 31.8 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: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.1171/1.503, allocations: 33.86 MB / 0.8509 GB, free: 5.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/1.503, allocations: 14.69 kB / 0.8509 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02151/1.525, allocations: 3.876 MB / 0.8547 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05523/1.58, allocations: 8.136 MB / 0.8626 GB, free: 9.766 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06514/1.645, allocations: 26.25 MB / 0.8883 GB, free: 0.7344 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003121/1.648, allocations: 1.634 MB / 0.8899 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01556/1.664, allocations: 2.219 MB / 0.892 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1796/1.844, allocations: 59.67 MB / 0.9503 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002266/1.846, allocations: 252.4 kB / 0.9506 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01372/1.86, allocations: 0.9731 MB / 0.9515 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02382/1.884, allocations: 8.446 MB / 0.9598 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4749/2.359, allocations: 48.02 MB / 1.007 GB, free: 197.6 MB / 0.6544 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.7396/3.098, allocations: 246.8 MB / 1.248 GB, free: 86.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06928/3.168, allocations: 27.76 MB / 1.275 GB, free: 85.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02228/3.19, allocations: 17.45 MB / 1.292 GB, free: 85.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003029/3.193, allocations: 2.602 MB / 1.294 GB, free: 83.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06061/3.254, allocations: 20.81 MB / 1.315 GB, free: 81.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=838): time 1.804e-05/3.254, allocations: 0 / 1.315 GB, free: 81.65 MB / 0.6544 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