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.06371/0.06371, allocations: 12.02 MB / 27.66 MB, free: 1.887 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.000959/0.0009591, allocations: 104 kB / 31.38 MB, free: 4.984 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.001009/0.001009, allocations: 196.5 kB / 35.22 MB, free: 1.164 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.243/1.243, allocations: 222.9 MB / 261.8 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.05624/0.05624, allocations: 13.68 MB / 328.5 MB, free: 0.5078 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.02507/0.02507, allocations: 19.65 MB / 471.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2689, allocations: 55.39 MB / 0.5149 GB, free: 19.85 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.04942/0.3183, allocations: 60.87 MB / 0.5744 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03331/0.3516, allocations: 17.84 MB / 0.5918 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.3636, allocations: 0.4972 MB / 0.5923 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04814/0.4118, allocations: 31.2 MB / 0.6228 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01826/0.4301, allocations: 8.328 MB / 0.6309 GB, free: 14.85 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.01058/0.4407, allocations: 5.997 MB / 0.6368 GB, free: 8.867 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0323/0.473, allocations: 28.51 MB / 0.6646 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04961/0.5226, allocations: 48.24 MB / 0.7117 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2459/0.7686, allocations: 13.75 MB / 0.7251 GB, free: 48.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02118/0.7898, allocations: 16.68 MB / 0.7414 GB, free: 48.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0129/0.8027, allocations: 4.895 MB / 0.7462 GB, free: 48.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01558/0.8183, allocations: 6.307 MB / 0.7524 GB, free: 48.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02028/0.8386, allocations: 15.97 MB / 0.768 GB, free: 47.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02769/0.8663, allocations: 18.92 MB / 0.7864 GB, free: 37.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05731/0.9237, allocations: 66.5 MB / 0.8514 GB, free: 5.848 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.9237, allocations: 0 / 0.8514 GB, free: 5.848 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9237, allocations: 3.938 kB / 0.8514 GB, free: 5.844 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001594/0.9253, allocations: 0 / 0.8514 GB, free: 5.844 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.08837/1.014, allocations: 35.62 MB / 0.8862 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.014, allocations: 8.031 kB / 0.8862 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01229/1.026, allocations: 3.979 MB / 0.89 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04081/1.067, allocations: 8.018 MB / 0.8979 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05023/1.117, allocations: 28.88 MB / 0.9261 GB, free: 10.81 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001771/1.119, allocations: 1.802 MB / 0.9278 GB, free: 9.09 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009535/1.128, allocations: 2.46 MB / 0.9302 GB, free: 6.723 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4957/1.624, allocations: 60.52 MB / 0.9893 GB, free: 209.3 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00153/1.626, allocations: 236.5 kB / 0.9896 GB, free: 209.2 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008055/1.634, allocations: 1.057 MB / 0.9906 GB, free: 208.5 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01011/1.644, allocations: 6.886 MB / 0.9973 GB, free: 206.8 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08784/1.732, allocations: 50.86 MB / 1.047 GB, free: 183 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.5056/2.237, allocations: 246.8 MB / 1.288 GB, free: 105 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06442/2.302, allocations: 29.23 MB / 1.317 GB, free: 103.9 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01866/2.321, allocations: 18.1 MB / 1.334 GB, free: 99.69 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/2.322, allocations: 1.313 MB / 1.336 GB, free: 98.73 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0547/2.377, allocations: 21.36 MB / 1.356 GB, free: 92.71 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 1.198e-05/2.377, allocations: 0 / 1.356 GB, free: 92.71 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