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.07075/0.07075, allocations: 12.01 MB / 27.64 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.001029/0.001029, allocations: 107.9 kB / 31.36 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.001704/0.001704, allocations: 188.5 kB / 35.19 MB, free: 1.184 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.54/1.54, allocations: 222.9 MB / 261.7 MB, free: 7.453 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06327/0.06327, allocations: 13.67 MB / 328.5 MB, free: 0.4961 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.03429/0.03429, allocations: 19.68 MB / 472.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.5011, allocations: 55.39 MB / 0.5154 GB, free: 20.26 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_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}) 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}) 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}) 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}) 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}) 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}) 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}) 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}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.07093/0.5721, allocations: 60.86 MB / 0.5749 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05077/0.6229, allocations: 17.85 MB / 0.5923 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02279/0.6457, allocations: 0.4946 MB / 0.5928 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0577/0.7034, allocations: 31.19 MB / 0.6232 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02839/0.7319, allocations: 8.328 MB / 0.6314 GB, free: 14.8 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.01554/0.7474, allocations: 6.002 MB / 0.6372 GB, free: 8.812 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04458/0.792, allocations: 28.5 MB / 0.6651 GB, free: 12.37 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07592/0.868, allocations: 48.24 MB / 0.7122 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3757/1.244, allocations: 13.76 MB / 0.7256 GB, free: 48.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03136/1.275, allocations: 16.67 MB / 0.7419 GB, free: 48.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01928/1.294, allocations: 4.894 MB / 0.7467 GB, free: 48.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02243/1.317, allocations: 6.308 MB / 0.7528 GB, free: 48.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03427/1.351, allocations: 15.98 MB / 0.7684 GB, free: 47.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03738/1.389, allocations: 18.81 MB / 0.7868 GB, free: 37.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07953/1.468, allocations: 66.2 MB / 0.8514 GB, free: 6.156 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.468, allocations: 0 / 0.8514 GB, free: 6.156 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.773e-06/1.468, allocations: 0 / 0.8514 GB, free: 6.156 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.002418/1.471, allocations: 0 / 0.8514 GB, free: 6.156 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.1308/1.602, allocations: 35.36 MB / 0.886 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.602, allocations: 12.03 kB / 0.886 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03328/1.635, allocations: 6.014 MB / 0.8918 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06103/1.696, allocations: 24.35 MB / 0.9156 GB, free: 5.531 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002146/1.698, allocations: 1.804 MB / 0.9174 GB, free: 3.816 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01573/1.714, allocations: 2.449 MB / 0.9198 GB, free: 1.453 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8353/2.549, allocations: 60.61 MB / 0.979 GB, free: 211.6 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002568/2.552, allocations: 241.5 kB / 0.9792 GB, free: 211.5 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01371/2.566, allocations: 1.053 MB / 0.9802 GB, free: 211.5 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01802/2.584, allocations: 6.893 MB / 0.987 GB, free: 210.3 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1299/2.714, allocations: 51.02 MB / 1.037 GB, free: 187.7 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.7193/3.433, allocations: 247.3 MB / 1.278 GB, free: 106.8 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07304/3.506, allocations: 29.3 MB / 1.307 GB, free: 105.7 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02264/3.529, allocations: 18.18 MB / 1.325 GB, free: 102.4 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002103/3.531, allocations: 1.307 MB / 1.326 GB, free: 101.5 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06293/3.594, allocations: 21.45 MB / 1.347 GB, free: 95.63 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 2.62e-05/3.594, allocations: 0 / 1.347 GB, free: 95.63 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