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.1271/0.1271, allocations: 12.18 MB / 31.02 MB, free: 1.504 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.001766/0.001766, allocations: 107.2 kB / 37.24 MB, free: 2.832 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.00244/0.00244, allocations: 208.3 kB / 43.57 MB, free: 5.234 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.578/1.578, allocations: 230.6 MB / 280.3 MB, free: 8.809 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.06572/0.06572, allocations: 13.89 MB / 353.7 MB, free: 3.926 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.07065/0.07065, allocations: 20.97 MB / 0.4991 GB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.4064, allocations: 59.68 MB / 0.5574 GB, free: 112 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.06933/0.4757, allocations: 50.42 MB / 0.6066 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04126/0.517, allocations: 17.24 MB / 0.6234 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01553/0.5325, allocations: 0.5739 MB / 0.624 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06024/0.5928, allocations: 30.03 MB / 0.6533 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02406/0.6168, allocations: 8.223 MB / 0.6614 GB, free: 5.488 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.01488/0.6317, allocations: 6.07 MB / 0.6673 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04356/0.6753, allocations: 29.02 MB / 0.6956 GB, free: 2.469 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4025/1.078, allocations: 32.3 MB / 0.7272 GB, free: 17.3 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02829/1.106, allocations: 13.87 MB / 0.7407 GB, free: 16.9 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03096/1.137, allocations: 15.88 MB / 0.7562 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01466/1.152, allocations: 4.878 MB / 0.761 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0207/1.172, allocations: 6.229 MB / 0.7671 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.026/1.198, allocations: 16.11 MB / 0.7828 GB, free: 11.88 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.03696/1.235, allocations: 13.87 MB / 0.7963 GB, free: 2.477 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.09343/1.329, allocations: 65.88 MB / 0.8607 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/1.329, allocations: 0 / 0.8607 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.096e-06/1.329, allocations: 0 / 0.8607 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.00214/1.331, allocations: 2.438 kB / 0.8607 GB, free: 4.348 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.1202/1.451, allocations: 35.58 MB / 0.8954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.451, allocations: 8.922 kB / 0.8954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03078/1.482, allocations: 5.905 MB / 0.9012 GB, free: 11.02 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0589/1.541, allocations: 23.97 MB / 0.9246 GB, free: 3.949 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002486/1.543, allocations: 1.792 MB / 0.9263 GB, free: 2.238 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01336/1.557, allocations: 2.428 MB / 0.9287 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7634/2.32, allocations: 59.92 MB / 0.9872 GB, free: 208.4 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002369/2.323, allocations: 234.8 kB / 0.9875 GB, free: 208.3 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01219/2.335, allocations: 1.046 MB / 0.9885 GB, free: 207.6 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01042/2.345, allocations: 6.589 MB / 0.9949 GB, free: 205 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1108/2.456, allocations: 50.16 MB / 1.044 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.7161/3.172, allocations: 221.3 MB / 1.26 GB, free: 117.2 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07337/3.245, allocations: 28.15 MB / 1.288 GB, free: 116.6 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0232/3.269, allocations: 17.46 MB / 1.305 GB, free: 111 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/3.271, allocations: 0.5948 MB / 1.305 GB, free: 110.9 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0625/3.333, allocations: 21.51 MB / 1.326 GB, free: 101.8 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.373e-05/3.333, allocations: 0 / 1.326 GB, free: 101.8 MB / 0.6858 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.008065627887845] Failed to read output from testmodel.py, exit status != 0: 4.262747650966048 4.271513865 2.939943664 Calling exit ...