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.09891/0.09891, allocations: 12.19 MB / 28.53 MB, free: 1.398 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.001269/0.001269, allocations: 107.7 kB / 34.41 MB, free: 2.32 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.001583/0.001583, allocations: 215.9 kB / 40.4 MB, free: 4.441 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.542/1.542, allocations: 230.5 MB / 276.8 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.0655/0.0655, allocations: 13.88 MB / 349.8 MB, free: 11.35 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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_DeviceDrivers 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: 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: Performance of FrontEnd - loaded program: time 0.02987/0.02987, allocations: 21.72 MB / 0.4938 GB, free: 17.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1662, allocations: 59.63 MB / 0.5521 GB, free: 5.699 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.635/0.8012, allocations: 59.49 MB / 0.6102 GB, free: 19.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04453/0.8457, allocations: 17.54 MB / 0.6273 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0194/0.8651, allocations: 0.5707 MB / 0.6279 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05283/0.918, allocations: 31.31 MB / 0.6584 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03068/0.9486, allocations: 8.188 MB / 0.6664 GB, free: 7.816 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.01687/0.9655, allocations: 6.029 MB / 0.6723 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04991/1.015, allocations: 29.01 MB / 0.7007 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08388/1.099, allocations: 36.88 MB / 0.7367 GB, free: 332 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03628/1.136, allocations: 13.86 MB / 0.7502 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04233/1.178, allocations: 17.53 MB / 0.7673 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01616/1.194, allocations: 4.871 MB / 0.7721 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02056/1.215, allocations: 6.356 MB / 0.7783 GB, free: 5.641 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.03025/1.245, allocations: 16.12 MB / 0.794 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.04336/1.288, allocations: 18.71 MB / 0.8123 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.4915/1.78, allocations: 65.87 MB / 0.8766 GB, free: 71.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.78, allocations: 0 / 0.8766 GB, free: 71.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/1.78, allocations: 0 / 0.8766 GB, free: 71.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002727/1.782, allocations: 0 / 0.8766 GB, free: 71.91 MB / 0.5919 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.1337/1.916, allocations: 35.92 MB / 0.9117 GB, free: 48.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.904e-05/1.916, allocations: 7.438 kB / 0.9117 GB, free: 48.61 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02326/1.939, allocations: 3.93 MB / 0.9155 GB, free: 45.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04948/1.989, allocations: 7.891 MB / 0.9232 GB, free: 41.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06018/2.049, allocations: 27.39 MB / 0.95 GB, free: 20.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001664/2.051, allocations: 1.791 MB / 0.9517 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0159/2.067, allocations: 2.441 MB / 0.9541 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1849/2.252, allocations: 59.63 MB / 1.012 GB, free: 3.312 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002586/2.254, allocations: 231.5 kB / 1.013 GB, free: 3.152 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01569/2.27, allocations: 1.046 MB / 1.014 GB, free: 2.188 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0133/2.283, allocations: 6.586 MB / 1.02 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1474/2.431, allocations: 50.1 MB / 1.069 GB, free: 10.25 MB / 0.7013 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.8004/3.231, allocations: 244.2 MB / 1.307 GB, free: 45.42 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07243/3.303, allocations: 28.54 MB / 1.335 GB, free: 16.76 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4525/3.756, allocations: 17.32 MB / 1.352 GB, free: 222 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/3.758, allocations: 1.304 MB / 1.353 GB, free: 221.1 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07237/3.831, allocations: 21.41 MB / 1.374 GB, free: 220.8 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=901): time 3.741e-05/3.831, allocations: 0 / 1.374 GB, free: 220.8 MB / 0.7013 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.230857029091567] Failed to read output from testmodel.py, exit status != 0: 4.404013209044933 4.41472111 2.632317959 Calling exit ...