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.03766/0.03766, allocations: 9.135 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.0008317/0.0008317, allocations: 91.14 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.001107/0.001107, allocations: 160.3 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.8675/0.8675, allocations: 177.1 MB / 224 MB, free: 8.832 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.03811/0.03811, allocations: 10.58 MB / 294.1 MB, free: 6.043 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.723e-06/1.723e-06, allocations: 0 / 430.1 MB, free: 12.84 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.92e-05, allocations: 2.281 kB / 430.1 MB, free: 12.84 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.03308/0.0331, allocations: 48.04 MB / 478.1 MB, free: 12.61 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.03206/0.06516, allocations: 16.11 MB / 494.2 MB, free: 12.45 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01424/0.0794, allocations: 0.5439 MB / 494.8 MB, free: 11.91 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02739/0.1068, allocations: 25.19 MB / 0.5078 GB, free: 2.637 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.2654/0.3722, allocations: 8.642 MB / 0.5162 GB, free: 9.141 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.3831, allocations: 6.34 MB / 0.5224 GB, free: 9.027 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03167/0.4148, allocations: 33.72 MB / 0.5554 GB, free: 4.25 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03458/0.4493, allocations: 30.49 MB / 0.5851 GB, free: 13.23 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03368/0.483, allocations: 19.71 MB / 0.6044 GB, free: 10.5 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01954/0.5026, allocations: 16.1 MB / 0.6201 GB, free: 11.64 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007414/0.51, allocations: 4.023 MB / 0.624 GB, free: 7.617 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009568/0.5195, allocations: 6.003 MB / 0.6299 GB, free: 1.719 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01444/0.534, allocations: 15.18 MB / 0.6447 GB, free: 3.094 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0175/0.5515, allocations: 10.57 MB / 0.655 GB, free: 8.977 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.5435/1.095, allocations: 59.66 MB / 0.7133 GB, free: 81 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.095, allocations: 1.625 kB / 0.7133 GB, free: 81 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.623e-06/1.095, allocations: 0.5625 kB / 0.7133 GB, free: 81 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002296/1.097, allocations: 0 / 0.7133 GB, free: 81 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.08617/1.183, allocations: 33.62 MB / 0.7461 GB, free: 69.03 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/1.184, allocations: 12.56 kB / 0.7461 GB, free: 69.03 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01667/1.2, allocations: 3.729 MB / 0.7498 GB, free: 68.8 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03071/1.231, allocations: 8.315 MB / 0.7579 GB, free: 67.03 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03841/1.269, allocations: 22.06 MB / 0.7795 GB, free: 60.66 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/1.271, allocations: 1.599 MB / 0.781 GB, free: 60.04 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009572/1.28, allocations: 2.177 MB / 0.7831 GB, free: 59.38 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1021/1.382, allocations: 57.22 MB / 0.839 GB, free: 4.965 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009117/1.383, allocations: 249.7 kB / 0.8393 GB, free: 4.805 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004744/1.388, allocations: 0.9604 MB / 0.8402 GB, free: 3.957 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0068/1.395, allocations: 7.595 MB / 0.8476 GB, free: 12.45 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07857/1.473, allocations: 45.64 MB / 0.8922 GB, free: 15.55 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.5352/2.008, allocations: 228.3 MB / 1.115 GB, free: 117.3 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04235/2.051, allocations: 27.3 MB / 1.142 GB, free: 92.43 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01479/2.066, allocations: 16.72 MB / 1.158 GB, free: 75.69 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/2.067, allocations: 0.9863 MB / 1.159 GB, free: 74.71 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03586/2.103, allocations: 21.55 MB / 1.18 GB, free: 53.09 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=838): time 1.011e-05/2.103, allocations: 0 / 1.18 GB, free: 53.09 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.629243543371558] Failed to read output from testmodel.py, exit status != 0: 2.687826946377754 2.695222202 1.5982693909999999 Calling exit ...