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.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.07274/0.07274, allocations: 12.18 MB / 29.23 MB, free: 0.9492 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 103.7 kB / 35.11 MB, free: 2.195 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 210.3 kB / 41.1 MB, free: 4.434 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.5 MB / 277.5 MB, free: 15.83 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06648/0.06648, allocations: 13.89 MB / 350.5 MB, free: 11.34 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0247/0.0247, allocations: 20.59 MB / 0.4934 GB, free: 18.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1396, allocations: 59.64 MB / 0.5517 GB, free: 6.844 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.5916/0.7312, allocations: 59.48 MB / 0.6098 GB, free: 18.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03515/0.7664, allocations: 17.55 MB / 0.6269 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01714/0.7835, allocations: 0.5726 MB / 0.6275 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05201/0.8355, allocations: 31.3 MB / 0.658 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02857/0.8641, allocations: 8.192 MB / 0.666 GB, free: 8.684 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.01503/0.8791, allocations: 6.029 MB / 0.6719 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04703/0.9262, allocations: 29.02 MB / 0.7002 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06092/0.9871, allocations: 36.87 MB / 0.7363 GB, free: 1.188 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02807/1.015, allocations: 13.86 MB / 0.7498 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03178/1.047, allocations: 17.52 MB / 0.7669 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01375/1.061, allocations: 4.875 MB / 0.7717 GB, free: 12.86 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/1.08, allocations: 6.36 MB / 0.7779 GB, free: 6.504 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.02782/1.108, allocations: 16.11 MB / 0.7936 GB, free: 6.355 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.03845/1.146, allocations: 18.71 MB / 0.8119 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.7325/1.879, allocations: 65.87 MB / 0.8762 GB, free: 71.68 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.879, allocations: 0 / 0.8762 GB, free: 71.68 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.643e-06/1.879, allocations: 0 / 0.8762 GB, free: 71.68 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002752/1.882, allocations: 1.219 kB / 0.8762 GB, free: 71.68 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7898 * Number of variables: 7898 Notification: Performance of Generate backend data structure: time 0.143/2.025, allocations: 35.93 MB / 0.9113 GB, free: 48.24 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/2.025, allocations: 11.19 kB / 0.9113 GB, free: 48.24 MB / 0.592 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008714/2.026, allocations: 0.6722 MB / 0.912 GB, free: 48.19 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02617/2.052, allocations: 3.929 MB / 0.9158 GB, free: 45.56 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06159/2.113, allocations: 7.888 MB / 0.9235 GB, free: 41.57 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05159/2.165, allocations: 27.38 MB / 0.9502 GB, free: 19.65 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001526/2.167, allocations: 1.797 MB / 0.952 GB, free: 17.93 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01414/2.181, allocations: 2.443 MB / 0.9544 GB, free: 15.57 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2035/2.384, allocations: 59.62 MB / 1.013 GB, free: 2.348 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002045/2.386, allocations: 231.5 kB / 1.013 GB, free: 2.188 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01432/2.401, allocations: 1.049 MB / 1.014 GB, free: 1.223 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01456/2.415, allocations: 6.585 MB / 1.02 GB, free: 10.73 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1421/2.557, allocations: 50.11 MB / 1.069 GB, free: 9.285 MB / 0.7014 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.7592/3.316, allocations: 244.2 MB / 1.308 GB, free: 44.44 MB / 0.7014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09078/3.407, allocations: 28.55 MB / 1.336 GB, free: 15.79 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3916/3.799, allocations: 17.32 MB / 1.352 GB, free: 221.7 MB / 0.7014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002242/3.801, allocations: 1.301 MB / 1.354 GB, free: 220.8 MB / 0.7014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07042/3.871, allocations: 21.42 MB / 1.375 GB, free: 220.5 MB / 0.7014 GB Notification: Performance of pre-optimization done (n=901): time 3.931e-05/3.871, allocations: 0 / 1.375 GB, free: 220.5 MB / 0.7014 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.207091474032495] Failed to read output from testmodel.py, exit status != 0: 4.406424414017238 4.417329077 2.535664185 Calling exit ...