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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06351/0.06351, allocations: 12.17 MB / 30.94 MB, free: 236 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 115.2 kB / 37.16 MB, free: 3.508 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 188.4 kB / 43.47 MB, free: 5.93 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 275.2 MB, free: 9.027 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.06466/0.06466, allocations: 13.89 MB / 347.4 MB, free: 10.37 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.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: 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: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.0345/0.0345, allocations: 20.58 MB / 0.4902 GB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3898, allocations: 58.44 MB / 0.5472 GB, free: 18.71 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.07147/0.4613, allocations: 61.13 MB / 0.6069 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04675/0.508, allocations: 17.91 MB / 0.6244 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01603/0.5241, allocations: 0.4985 MB / 0.6249 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05987/0.5839, allocations: 31.61 MB / 0.6558 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02429/0.6082, allocations: 8.327 MB / 0.6639 GB, free: 3.586 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.01386/0.6221, allocations: 6.025 MB / 0.6698 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04448/0.6666, allocations: 28.45 MB / 0.6976 GB, free: 1.184 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05549/0.7221, allocations: 31.68 MB / 0.7285 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3025/1.025, allocations: 13.8 MB / 0.742 GB, free: 32.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02917/1.054, allocations: 17.6 MB / 0.7592 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01271/1.066, allocations: 4.899 MB / 0.764 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01562/1.082, allocations: 6.382 MB / 0.7702 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02083/1.103, allocations: 16.25 MB / 0.786 GB, free: 29.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02814/1.131, allocations: 18.78 MB / 0.8044 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.08365/1.215, allocations: 66.19 MB / 0.869 GB, free: 8.258 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.215, allocations: 0 / 0.869 GB, free: 8.258 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.513e-06/1.215, allocations: 0 / 0.869 GB, free: 8.258 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002056/1.217, allocations: 0 / 0.869 GB, free: 8.258 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: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.1181/1.335, allocations: 35.35 MB / 0.9036 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.335, allocations: 10.69 kB / 0.9036 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03117/1.366, allocations: 6.019 MB / 0.9094 GB, free: 15.02 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05828/1.424, allocations: 24.36 MB / 0.9332 GB, free: 7.633 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002108/1.427, allocations: 1.799 MB / 0.935 GB, free: 5.918 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01214/1.439, allocations: 2.448 MB / 0.9374 GB, free: 3.555 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6789/2.118, allocations: 60.62 MB / 0.9966 GB, free: 207.9 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001482/2.119, allocations: 238.2 kB / 0.9968 GB, free: 207.8 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008198/2.127, allocations: 1.05 MB / 0.9978 GB, free: 207.1 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009766/2.137, allocations: 6.894 MB / 1.005 GB, free: 204.8 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09801/2.235, allocations: 51.02 MB / 1.054 GB, free: 172.5 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.6027/2.838, allocations: 247.3 MB / 1.296 GB, free: 118.1 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06513/2.903, allocations: 28.57 MB / 1.324 GB, free: 116.9 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0193/2.922, allocations: 17.36 MB / 1.341 GB, free: 112.7 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/2.924, allocations: 1.307 MB / 1.342 GB, free: 111.7 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05793/2.982, allocations: 21.45 MB / 1.363 GB, free: 102 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 1.364e-05/2.982, allocations: 4 kB / 1.363 GB, free: 102 MB / 0.6858 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.456621645949781] Failed to read output from testmodel.py, exit status != 0: 3.812571620102972 3.821071451 2.603835038 Calling exit ...