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.03893/0.03893, allocations: 9.13 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0008202/0.0008202, allocations: 95.2 kB / 35.33 MB, free: 1.074 MB / 24.77 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.0009182/0.0009182, allocations: 168.6 kB / 38.73 MB, free: 2.484 MB / 24.77 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 0.9204/0.9204, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] 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.03996/0.03996, allocations: 10.56 MB / 286.2 MB, free: 7.102 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 307.6 MB, free: 15.51 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.244e-05, allocations: 10.16 kB / 307.6 MB, free: 15.5 MB / 282.8 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.04424/0.04425, allocations: 54.83 MB / 362.4 MB, free: 9.469 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0282/0.07245, allocations: 18.22 MB / 380.6 MB, free: 7.227 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007842/0.08029, allocations: 0.5714 MB / 381.2 MB, free: 6.652 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02884/0.1091, allocations: 33.35 MB / 414.6 MB, free: 5.203 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.1226, allocations: 8.462 MB / 423 MB, free: 12.7 MB / 394.8 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.007601/0.1302, allocations: 6.815 MB / 429.8 MB, free: 5.879 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2164/0.3466, allocations: 34.19 MB / 464 MB, free: 20.61 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03942/0.386, allocations: 37.48 MB / 0.4897 GB, free: 15.59 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03468/0.4207, allocations: 23.14 MB / 0.5123 GB, free: 3.969 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02059/0.4413, allocations: 17.81 MB / 0.5297 GB, free: 15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01049/0.4518, allocations: 4.992 MB / 0.5346 GB, free: 12.17 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.4646, allocations: 6.447 MB / 0.5409 GB, free: 5.859 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01915/0.4838, allocations: 17.01 MB / 0.5575 GB, free: 5.469 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02029/0.5041, allocations: 12.11 MB / 0.5693 GB, free: 9.867 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03703/0.5411, allocations: 33.07 MB / 0.6016 GB, free: 10.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5411, allocations: 0 / 0.6016 GB, free: 10.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5411, allocations: 0 / 0.6016 GB, free: 10.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001292/0.5424, allocations: 0 / 0.6016 GB, free: 10.55 MB / 490.8 MB 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.2899/0.8323, allocations: 33.16 MB / 0.634 GB, free: 188.6 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.8324, allocations: 8.875 kB / 0.634 GB, free: 188.6 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.8486, allocations: 5.246 MB / 0.6392 GB, free: 187.6 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02464/0.8732, allocations: 16.47 MB / 0.6552 GB, free: 179.5 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/0.8743, allocations: 1.795 MB / 0.657 GB, free: 178.8 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004463/0.8787, allocations: 2.43 MB / 0.6594 GB, free: 178 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04421/0.9229, allocations: 26.58 MB / 0.6853 GB, free: 153.1 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009677/0.9239, allocations: 218.3 kB / 0.6855 GB, free: 152.9 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004596/0.9285, allocations: 1.045 MB / 0.6866 GB, free: 151.9 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004212/0.9327, allocations: 5.895 MB / 0.6923 GB, free: 146 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0331/0.9658, allocations: 12.6 MB / 0.7046 GB, free: 133.7 MB / 0.495 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.3493/1.315, allocations: 162.6 MB / 0.8635 GB, free: 68.73 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03133/1.346, allocations: 20.72 MB / 0.8837 GB, free: 67.85 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005326/1.352, allocations: 2.782 MB / 0.8864 GB, free: 67.74 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/1.353, allocations: 0.8164 MB / 0.8872 GB, free: 67.71 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03075/1.383, allocations: 10.16 MB / 0.8971 GB, free: 67.37 MB / 0.495 GB Notification: Performance of pre-optimization done (n=847): time 1.847e-05/1.383, allocations: 0.5469 kB / 0.8971 GB, free: 67.37 MB / 0.495 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.164294885005802]