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-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.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",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.08443/0.08443, allocations: 12.02 MB / 27.65 MB, free: 1.902 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.001427/0.001427, allocations: 107.3 kB / 31.37 MB, free: 5.004 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.001804/0.001804, allocations: 192.5 kB / 35.2 MB, free: 1.188 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.522/1.522, allocations: 222.9 MB / 261.8 MB, free: 0 / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06777/0.06777, allocations: 13.68 MB / 328.5 MB, free: 0.9258 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.0369/0.0369, allocations: 20.03 MB / 472.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4457, allocations: 55.38 MB / 0.5153 GB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.07028/0.516, allocations: 60.84 MB / 0.5747 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05411/0.5702, allocations: 17.84 MB / 0.5921 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02291/0.5931, allocations: 0.4946 MB / 0.5926 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06641/0.6597, allocations: 31.2 MB / 0.6231 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02978/0.6895, allocations: 8.051 MB / 0.631 GB, free: 15.05 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.01564/0.7052, allocations: 5.999 MB / 0.6368 GB, free: 9.062 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.05001/0.7552, allocations: 28.5 MB / 0.6647 GB, free: 12.63 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09532/0.8505, allocations: 48.24 MB / 0.7118 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3881/1.239, allocations: 13.79 MB / 0.7252 GB, free: 48.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03113/1.27, allocations: 16.62 MB / 0.7415 GB, free: 48.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01728/1.287, allocations: 4.891 MB / 0.7462 GB, free: 48.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02439/1.312, allocations: 6.299 MB / 0.7524 GB, free: 48.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03606/1.348, allocations: 15.72 MB / 0.7677 GB, free: 47.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04359/1.391, allocations: 18.91 MB / 0.7862 GB, free: 37.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07873/1.47, allocations: 66.49 MB / 0.8511 GB, free: 6.109 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/1.47, allocations: 0 / 0.8511 GB, free: 6.109 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.954e-06/1.47, allocations: 6.375 kB / 0.8511 GB, free: 6.105 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.002326/1.473, allocations: 0 / 0.8511 GB, free: 6.105 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.1398/1.612, allocations: 35.6 MB / 0.8859 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/1.612, allocations: 10.69 kB / 0.8859 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02107/1.633, allocations: 3.977 MB / 0.8898 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04836/1.682, allocations: 8.003 MB / 0.8976 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06551/1.747, allocations: 28.88 MB / 0.9258 GB, free: 11.09 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002097/1.75, allocations: 1.809 MB / 0.9276 GB, free: 9.371 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01255/1.762, allocations: 2.455 MB / 0.93 GB, free: 7.004 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8118/2.574, allocations: 60.53 MB / 0.9891 GB, free: 209.4 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002181/2.576, allocations: 240.6 kB / 0.9893 GB, free: 209.3 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0125/2.589, allocations: 1.054 MB / 0.9904 GB, free: 208.6 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01453/2.603, allocations: 6.889 MB / 0.9971 GB, free: 206.9 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.123/2.726, allocations: 50.86 MB / 1.047 GB, free: 183.2 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.8131/3.539, allocations: 246.8 MB / 1.288 GB, free: 105.1 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07306/3.612, allocations: 29.23 MB / 1.316 GB, free: 104 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02168/3.634, allocations: 18.11 MB / 1.334 GB, free: 99.9 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/3.636, allocations: 1.303 MB / 1.335 GB, free: 98.95 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06115/3.697, allocations: 21.37 MB / 1.356 GB, free: 92.9 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 2.119e-05/3.697, allocations: 0 / 1.356 GB, free: 92.9 MB / 0.6702 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_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/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