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.07588/0.07588, allocations: 12.18 MB / 31.78 MB, free: 1.457 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.001367/0.001367, allocations: 104.6 kB / 37.98 MB, free: 2.906 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.001951/0.001951, allocations: 208.3 kB / 44.33 MB, free: 5.309 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.588/1.588, allocations: 230.6 MB / 281.1 MB, free: 8.684 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.06761/0.06761, allocations: 13.9 MB / 354.5 MB, free: 3.906 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: translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") [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.07168/0.07168, allocations: 20.96 MB / 0.4998 GB, free: 14.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.4069, allocations: 59.67 MB / 0.5581 GB, free: 76 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.06667/0.4735, allocations: 50.41 MB / 0.6073 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04351/0.517, allocations: 17.26 MB / 0.6242 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01559/0.5326, allocations: 0.5636 MB / 0.6247 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05827/0.5909, allocations: 30.04 MB / 0.6541 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02348/0.6144, allocations: 8.226 MB / 0.6621 GB, free: 5.449 MB / 478.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.01398/0.6284, allocations: 6.07 MB / 0.668 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04388/0.6722, allocations: 29.01 MB / 0.6964 GB, free: 2.438 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4034/1.076, allocations: 32.3 MB / 0.7279 GB, free: 17.34 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02568/1.101, allocations: 13.86 MB / 0.7414 GB, free: 16.95 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03291/1.134, allocations: 15.89 MB / 0.757 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01543/1.15, allocations: 4.872 MB / 0.7617 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01935/1.169, allocations: 6.229 MB / 0.7678 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0257/1.195, allocations: 16.11 MB / 0.7835 GB, free: 11.91 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.04154/1.236, allocations: 13.87 MB / 0.7971 GB, free: 2.488 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0979/1.334, allocations: 65.87 MB / 0.8614 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.334, allocations: 2.438 kB / 0.8614 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.124e-06/1.334, allocations: 3.281 kB / 0.8614 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002199/1.336, allocations: 0 / 0.8614 GB, free: 4.32 MB / 0.5763 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.1383/1.475, allocations: 35.58 MB / 0.8962 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.475, allocations: 12.2 kB / 0.8962 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03403/1.509, allocations: 5.9 MB / 0.9019 GB, free: 10.98 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06458/1.573, allocations: 23.96 MB / 0.9253 GB, free: 3.91 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002627/1.576, allocations: 1.791 MB / 0.9271 GB, free: 2.199 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01514/1.591, allocations: 2.438 MB / 0.9295 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9395/2.531, allocations: 59.91 MB / 0.988 GB, free: 208.5 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00311/2.534, allocations: 232.4 kB / 0.9882 GB, free: 208.5 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01697/2.551, allocations: 1.047 MB / 0.9892 GB, free: 207.8 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01123/2.562, allocations: 6.594 MB / 0.9956 GB, free: 205.1 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1116/2.674, allocations: 50.16 MB / 1.045 GB, free: 161.8 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.7953/3.469, allocations: 221.3 MB / 1.261 GB, free: 117.2 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06574/3.535, allocations: 28.14 MB / 1.288 GB, free: 116.6 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02302/3.558, allocations: 17.47 MB / 1.305 GB, free: 111 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/3.559, allocations: 0.5893 MB / 1.306 GB, free: 110.9 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06121/3.62, allocations: 21.51 MB / 1.327 GB, free: 101.8 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.498e-05/3.62, allocations: 0 / 1.327 GB, free: 101.8 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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 7.410800624638796] Failed to read output from testmodel.py, exit status != 0: 4.607797611039132 4.617929401 3.280962389 Calling exit ...