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.06291/0.06291, allocations: 12.02 MB / 27.65 MB, free: 1.855 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.0008977/0.0008977, allocations: 104 kB / 31.37 MB, free: 4.957 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.0009655/0.0009655, allocations: 192.5 kB / 35.21 MB, free: 1.137 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.218/1.218, allocations: 222.9 MB / 261.8 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1482/0.1482, allocations: 13.67 MB / 328.5 MB, free: 2.758 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.2707/0.2707, allocations: 19.65 MB / 471.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07374/0.3444, 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_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.04623/0.3907, allocations: 60.85 MB / 0.5744 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0309/0.4216, allocations: 17.84 MB / 0.5918 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009157/0.4308, allocations: 0.4946 MB / 0.5923 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0478/0.4786, allocations: 31.19 MB / 0.6228 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01736/0.496, allocations: 8.326 MB / 0.6309 GB, free: 4.723 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.2209/0.7169, allocations: 6.004 MB / 0.6367 GB, free: 9.488 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0291/0.746, allocations: 28.5 MB / 0.6646 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04582/0.7919, allocations: 48.24 MB / 0.7117 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02426/0.8162, allocations: 14.03 MB / 0.7254 GB, free: 7.578 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02449/0.8407, allocations: 16.68 MB / 0.7417 GB, free: 8.098 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01108/0.8518, allocations: 4.891 MB / 0.7464 GB, free: 3.207 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01534/0.8672, allocations: 6.307 MB / 0.7526 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02055/0.8878, allocations: 15.97 MB / 0.7682 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02914/0.9169, allocations: 18.91 MB / 0.7867 GB, free: 10.36 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0649/0.9819, allocations: 66.33 MB / 0.8515 GB, free: 9.141 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.9819, allocations: 0 / 0.8515 GB, free: 9.141 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9819, allocations: 7.938 kB / 0.8515 GB, free: 9.133 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.001577/0.9835, allocations: 0 / 0.8515 GB, free: 9.133 MB / 0.6232 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.4673/1.451, allocations: 34.87 MB / 0.8855 GB, free: 194.8 MB / 0.6233 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.451, allocations: 9.625 kB / 0.8855 GB, free: 194.8 MB / 0.6233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0117/1.463, allocations: 3.973 MB / 0.8894 GB, free: 192.2 MB / 0.6233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03617/1.499, allocations: 7.855 MB / 0.8971 GB, free: 188.2 MB / 0.6233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03934/1.538, allocations: 28.79 MB / 0.9252 GB, free: 162.1 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/1.539, allocations: 1.8 MB / 0.927 GB, free: 160.4 MB / 0.6233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007377/1.547, allocations: 2.449 MB / 0.9293 GB, free: 158 MB / 0.6233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09348/1.64, allocations: 60.54 MB / 0.9885 GB, free: 95.5 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009545/1.641, allocations: 233.9 kB / 0.9887 GB, free: 95.27 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004401/1.646, allocations: 1.052 MB / 0.9897 GB, free: 94.31 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007472/1.653, allocations: 6.889 MB / 0.9964 GB, free: 87.44 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0779/1.731, allocations: 50.86 MB / 1.046 GB, free: 36.57 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.4743/2.205, allocations: 246.4 MB / 1.287 GB, free: 60.22 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05708/2.262, allocations: 29.24 MB / 1.315 GB, free: 31.77 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01587/2.278, allocations: 18.1 MB / 1.333 GB, free: 13.64 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/2.28, allocations: 1.308 MB / 1.334 GB, free: 12.22 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05164/2.331, allocations: 21.36 MB / 1.355 GB, free: 6.781 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 1.798e-05/2.331, allocations: 0 / 1.355 GB, free: 6.781 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