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.06943/0.06943, allocations: 12.18 MB / 31.8 MB, free: 1.363 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.001323/0.001323, allocations: 115.3 kB / 38.03 MB, free: 3.004 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.001505/0.001505, allocations: 216.3 kB / 44.38 MB, free: 5.395 MB / 34.91 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.469/1.469, allocations: 230.6 MB / 281.1 MB, free: 7.98 MB / 206.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.0626/0.0626, allocations: 13.88 MB / 354.5 MB, free: 4.121 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) 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.03408/0.03408, allocations: 20.58 MB / 0.4991 GB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.3288, allocations: 59.68 MB / 0.5574 GB, free: 488 kB / 366.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.06263/0.3914, allocations: 59.54 MB / 0.6155 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03917/0.4306, allocations: 17.57 MB / 0.6327 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01246/0.443, allocations: 0.5636 MB / 0.6332 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05444/0.4975, allocations: 31.47 MB / 0.6639 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02372/0.5212, allocations: 8.192 MB / 0.6719 GB, free: 10.96 MB / 494.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.01328/0.5345, allocations: 6.062 MB / 0.6779 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04705/0.5815, allocations: 29.03 MB / 0.7062 GB, free: 7.938 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3233/0.9048, allocations: 32.57 MB / 0.738 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02319/0.928, allocations: 13.86 MB / 0.7515 GB, free: 13.42 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02679/0.9548, allocations: 17.54 MB / 0.7687 GB, free: 11.45 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01341/0.9682, allocations: 4.872 MB / 0.7734 GB, free: 11.45 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01567/0.9839, allocations: 6.391 MB / 0.7797 GB, free: 11.2 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02071/1.005, allocations: 16.14 MB / 0.7954 GB, free: 144 kB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.03833/1.043, allocations: 18.91 MB / 0.8139 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08182/1.125, allocations: 65.87 MB / 0.8782 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.125, allocations: 0 / 0.8782 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/1.125, allocations: 0 / 0.8782 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.001658/1.126, allocations: 0 / 0.8782 GB, free: 13.4 MB / 0.6075 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.1092/1.236, allocations: 35.85 MB / 0.9132 GB, free: 9.727 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.236, allocations: 12.62 kB / 0.9132 GB, free: 9.715 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0007634/1.236, allocations: 0.669 MB / 0.9139 GB, free: 9.043 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01491/1.251, allocations: 3.923 MB / 0.9177 GB, free: 5.188 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04407/1.295, allocations: 7.891 MB / 0.9254 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05869/1.354, allocations: 27.42 MB / 0.9522 GB, free: 2.918 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002039/1.356, allocations: 1.791 MB / 0.954 GB, free: 1.207 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5216/1.878, allocations: 2.435 MB / 0.9563 GB, free: 227.2 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.13/2.008, allocations: 59.63 MB / 1.015 GB, free: 188.4 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001559/2.009, allocations: 235.5 kB / 1.015 GB, free: 188.2 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008845/2.018, allocations: 1.05 MB / 1.016 GB, free: 187.2 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009229/2.027, allocations: 6.594 MB / 1.022 GB, free: 180.7 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09173/2.119, allocations: 50.09 MB / 1.071 GB, free: 130.6 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.6183/2.737, allocations: 244.5 MB / 1.31 GB, free: 108 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06331/2.801, allocations: 28.1 MB / 1.337 GB, free: 99.99 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0202/2.821, allocations: 17.39 MB / 1.354 GB, free: 90.12 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/2.822, allocations: 0.6404 MB / 1.355 GB, free: 89.92 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05652/2.879, allocations: 21.41 MB / 1.376 GB, free: 76.31 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 1.922e-05/2.879, allocations: 0 / 1.376 GB, free: 76.31 MB / 0.6858 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.167108919005841] Failed to read output from testmodel.py, exit status != 0: 3.6490990079473704 3.658072221 2.530834028 Calling exit ...