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.07336/0.07336, allocations: 12.03 MB / 27.67 MB, free: 1.871 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.00147/0.00147, allocations: 100 kB / 31.38 MB, free: 4.977 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.001693/0.001693, allocations: 196.5 kB / 35.21 MB, free: 1.152 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.573/1.573, allocations: 222.9 MB / 261.8 MB, free: 10.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1924/0.1924, allocations: 13.67 MB / 328.5 MB, free: 2.82 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.4265/0.4265, allocations: 20.12 MB / 472.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.5428, allocations: 55.41 MB / 0.5154 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.06087/0.6037, allocations: 60.83 MB / 0.5748 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04478/0.6486, allocations: 17.85 MB / 0.5923 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01778/0.6664, allocations: 0.4946 MB / 0.5927 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05885/0.7253, allocations: 31.2 MB / 0.6232 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02658/0.752, allocations: 8.049 MB / 0.6311 GB, free: 4.582 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.3803/1.132, allocations: 5.994 MB / 0.6369 GB, free: 9.633 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.04538/1.178, allocations: 28.49 MB / 0.6647 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07447/1.252, allocations: 48.25 MB / 0.7119 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03541/1.288, allocations: 14 MB / 0.7255 GB, free: 7.25 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0303/1.318, allocations: 16.62 MB / 0.7418 GB, free: 7.824 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01515/1.333, allocations: 4.891 MB / 0.7465 GB, free: 2.934 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02076/1.354, allocations: 6.303 MB / 0.7527 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02484/1.379, allocations: 15.73 MB / 0.7681 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04585/1.425, allocations: 18.91 MB / 0.7865 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0958/1.521, allocations: 66.49 MB / 0.8515 GB, free: 8.809 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.787e-05/1.521, allocations: 3.984 kB / 0.8515 GB, free: 8.805 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.396e-06/1.521, allocations: 3.938 kB / 0.8515 GB, free: 8.801 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.002658/1.523, allocations: 0 / 0.8515 GB, free: 8.801 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.8131/2.336, allocations: 35.6 MB / 0.8862 GB, free: 209.2 MB / 0.6389 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/2.337, allocations: 15.12 kB / 0.8862 GB, free: 209.2 MB / 0.6389 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01883/2.355, allocations: 3.982 MB / 0.8901 GB, free: 207.3 MB / 0.6389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0482/2.404, allocations: 8.008 MB / 0.8979 GB, free: 205 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05225/2.456, allocations: 28.88 MB / 0.9262 GB, free: 187.4 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001634/2.458, allocations: 1.798 MB / 0.9279 GB, free: 186.1 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01229/2.47, allocations: 2.45 MB / 0.9303 GB, free: 183.7 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1408/2.611, allocations: 60.55 MB / 0.9894 GB, free: 121.3 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002295/2.613, allocations: 234.4 kB / 0.9897 GB, free: 121.1 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01041/2.624, allocations: 1.047 MB / 0.9907 GB, free: 120.1 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01114/2.635, allocations: 6.899 MB / 0.9974 GB, free: 113.3 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09611/2.731, allocations: 50.85 MB / 1.047 GB, free: 62.46 MB / 0.6389 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.7117/3.443, allocations: 246.8 MB / 1.288 GB, free: 63.56 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07097/3.514, allocations: 29.24 MB / 1.317 GB, free: 41.16 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02137/3.535, allocations: 18.1 MB / 1.334 GB, free: 23.04 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/3.537, allocations: 1.299 MB / 1.336 GB, free: 21.62 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0608/3.598, allocations: 21.36 MB / 1.356 GB, free: 188 kB / 0.6545 GB Notification: Performance of pre-optimization done (n=901): time 2.27e-05/3.598, allocations: 0 / 1.356 GB, free: 188 kB / 0.6545 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