Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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/package.mo) Running command: translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0724/0.0724, allocations: 12.02 MB / 27.65 MB, free: 1.859 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.0009727/0.0009727, allocations: 114.9 kB / 31.36 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.001122/0.001122, allocations: 192.5 kB / 35.19 MB, free: 1.16 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.409/1.409, allocations: 222.9 MB / 261.8 MB, free: 7.383 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06233/0.06233, allocations: 13.68 MB / 328.5 MB, free: 0.5156 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.0298/0.0298, allocations: 19.68 MB / 472.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3309, allocations: 55.39 MB / 0.5154 GB, free: 20.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.05445/0.3854, allocations: 60.83 MB / 0.5748 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03667/0.4221, allocations: 17.84 MB / 0.5923 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01597/0.4381, allocations: 0.4946 MB / 0.5927 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05202/0.4902, allocations: 31.19 MB / 0.6232 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02146/0.5117, allocations: 8.053 MB / 0.6311 GB, free: 15.12 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.5238, allocations: 6.002 MB / 0.6369 GB, free: 9.129 MB / 478.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_inputs2_1.propellerRev.blades.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_inputs2_1.propellerRev.blades.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_inputs2_1.propellerRev1.blades.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_inputs2_1.propellerRev1.blades.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_inputs2_1.propellerRev2.blades.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_inputs2_1.propellerRev2.blades.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_inputs2_1.propellerRev3.blades.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_inputs2_1.propellerRev3.blades.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. Notification: Performance of NFFlatten.flatten: time 0.03553/0.5594, allocations: 28.5 MB / 0.6648 GB, free: 12.69 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05748/0.6169, allocations: 48.23 MB / 0.7119 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2948/0.9117, allocations: 13.78 MB / 0.7253 GB, free: 48.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02919/0.941, allocations: 16.62 MB / 0.7416 GB, free: 48.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01526/0.9563, allocations: 4.89 MB / 0.7463 GB, free: 48.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01995/0.9762, allocations: 6.301 MB / 0.7525 GB, free: 48.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0221/0.9984, allocations: 15.72 MB / 0.7678 GB, free: 47.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03112/1.03, allocations: 18.81 MB / 0.7862 GB, free: 37.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06497/1.095, allocations: 66.19 MB / 0.8509 GB, free: 6.484 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/1.095, allocations: 0 / 0.8509 GB, free: 6.484 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.583e-06/1.095, allocations: 2.469 kB / 0.8509 GB, free: 6.484 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001825/1.096, allocations: 0 / 0.8509 GB, free: 6.484 MB / 0.5607 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.09591/1.192, allocations: 35.34 MB / 0.8854 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.192, allocations: 8.031 kB / 0.8854 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/1.221, allocations: 6.023 MB / 0.8913 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04376/1.264, allocations: 24.35 MB / 0.915 GB, free: 5.875 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001618/1.266, allocations: 1.797 MB / 0.9168 GB, free: 4.16 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009799/1.276, allocations: 2.454 MB / 0.9192 GB, free: 1.793 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6095/1.885, allocations: 60.61 MB / 0.9784 GB, free: 211.3 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001519/1.887, allocations: 238.1 kB / 0.9786 GB, free: 211.2 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01055/1.898, allocations: 1.051 MB / 0.9796 GB, free: 211.2 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01237/1.91, allocations: 6.896 MB / 0.9864 GB, free: 210 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1058/2.016, allocations: 51.02 MB / 1.036 GB, free: 187.5 MB / 0.6702 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.602/2.618, allocations: 247.3 MB / 1.278 GB, free: 106.8 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07046/2.688, allocations: 29.31 MB / 1.306 GB, free: 105.7 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0207/2.709, allocations: 18.18 MB / 1.324 GB, free: 102.5 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/2.711, allocations: 1.306 MB / 1.325 GB, free: 101.6 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05856/2.77, allocations: 21.44 MB / 1.346 GB, free: 95.72 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 2.119e-05/2.77, allocations: 4 kB / 1.346 GB, free: 95.71 MB / 0.6702 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: controlModuleTest_fmu_inputs2_1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs2_1.accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed