Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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.03891/0.03891, allocations: 9.138 MB / 28.23 MB, free: 1.121 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.000708/0.000708, allocations: 94.39 kB / 34.43 MB, free: 1.52 MB / 24.77 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/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.001044/0.001044, allocations: 160.5 kB / 40.72 MB, free: 1.758 MB / 24.77 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/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.8812/0.8812, allocations: 177.1 MB / 224.1 MB, free: 8.824 MB / 202.7 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 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.03872/0.03872, allocations: 10.59 MB / 294.1 MB, free: 6.035 MB / 266.7 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] 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: "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 430.1 MB, free: 12.97 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.048e-05, allocations: 5.234 kB / 430.1 MB, free: 12.96 MB / 330.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_inputs1.propellerRev.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_inputs1.propellerRev.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_inputs1.propellerRev3.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_inputs1.propellerRev3.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_inputs1.propellerRev1.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_inputs1.propellerRev1.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_inputs1.propellerRev2.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_inputs1.propellerRev2.bodyShape5.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.Examples.Visualize.ModuleTest_Dymola): time 0.03134/0.03136, allocations: 48.04 MB / 478.1 MB, free: 12.73 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.03042/0.06178, allocations: 16.1 MB / 494.2 MB, free: 12.58 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/0.07245, allocations: 0.5478 MB / 494.8 MB, free: 12.03 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02649/0.09894, allocations: 25.19 MB / 0.5078 GB, free: 2.762 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.2304/0.3294, allocations: 8.643 MB / 0.5162 GB, free: 8.492 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.3398, allocations: 6.341 MB / 0.5224 GB, free: 8.383 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.02906/0.3689, allocations: 33.7 MB / 0.5553 GB, free: 4.078 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03068/0.3996, allocations: 30.51 MB / 0.5851 GB, free: 13.21 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0339/0.4335, allocations: 19.7 MB / 0.6044 GB, free: 10.49 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0214/0.4549, allocations: 16.1 MB / 0.6201 GB, free: 11.62 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009615/0.4645, allocations: 4.027 MB / 0.624 GB, free: 7.598 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.4754, allocations: 5.993 MB / 0.6299 GB, free: 1.707 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01457/0.49, allocations: 15.18 MB / 0.6447 GB, free: 3.082 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0159/0.5059, allocations: 10.57 MB / 0.655 GB, free: 8.988 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.4777/0.9836, allocations: 59.66 MB / 0.7133 GB, free: 80.71 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.9836, allocations: 0 / 0.7133 GB, free: 80.71 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9836, allocations: 0.5312 kB / 0.7133 GB, free: 80.71 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002003/0.9856, allocations: 0 / 0.7133 GB, free: 80.71 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7666 * Number of variables: 7666 Notification: Performance of Generate backend data structure: time 0.09477/1.08, allocations: 33.63 MB / 0.7461 GB, free: 68.73 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/1.08, allocations: 10.09 kB / 0.7462 GB, free: 68.73 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01615/1.097, allocations: 3.726 MB / 0.7498 GB, free: 68.5 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03137/1.128, allocations: 8.315 MB / 0.7579 GB, free: 66.73 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04294/1.171, allocations: 22.07 MB / 0.7795 GB, free: 60.38 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001382/1.172, allocations: 1.598 MB / 0.781 GB, free: 59.75 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01098/1.183, allocations: 2.174 MB / 0.7832 GB, free: 59.1 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1101/1.293, allocations: 57.22 MB / 0.839 GB, free: 4.816 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001433/1.295, allocations: 249 kB / 0.8393 GB, free: 4.652 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01064/1.305, allocations: 0.9566 MB / 0.8402 GB, free: 3.805 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0085/1.314, allocations: 7.598 MB / 0.8476 GB, free: 12.3 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08416/1.398, allocations: 45.65 MB / 0.8922 GB, free: 15.39 MB / 0.6044 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.5178/1.916, allocations: 228.3 MB / 1.115 GB, free: 117.3 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0424/1.958, allocations: 27.28 MB / 1.142 GB, free: 92.12 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01798/1.976, allocations: 16.71 MB / 1.158 GB, free: 75.39 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/1.978, allocations: 1.001 MB / 1.159 GB, free: 74.4 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04008/2.018, allocations: 21.56 MB / 1.18 GB, free: 52.77 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=838): time 1.946e-05/2.018, allocations: 0 / 1.18 GB, free: 52.77 MB / 0.6513 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_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.513190615922213] Failed to read output from testmodel.py, exit status != 0: 2.6170774791389704 2.624020425 1.638481579 Calling exit ...