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.04745/0.04745, allocations: 9.134 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.0009217/0.0009217, allocations: 94.78 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.001028/0.001028, allocations: 163.2 kB / 40.72 MB, free: 1.754 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.9037/0.9037, allocations: 177.1 MB / 224.1 MB, free: 8.82 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.04007/0.04007, allocations: 10.6 MB / 294.1 MB, free: 6.039 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 430.9 MB, free: 12.07 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.268e-05, allocations: 2.281 kB / 430.9 MB, free: 12.06 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.03023/0.03025, allocations: 48.03 MB / 478.9 MB, free: 11.83 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.02649/0.05674, allocations: 16.1 MB / 495 MB, free: 11.68 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007385/0.06413, allocations: 0.5478 MB / 495.6 MB, free: 11.13 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02131/0.08544, allocations: 25.19 MB / 0.5086 GB, free: 1.863 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.1842/0.2697, allocations: 8.639 MB / 0.517 GB, free: 9.621 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.2798, allocations: 6.338 MB / 0.5232 GB, free: 9.508 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.02856/0.3084, allocations: 33.72 MB / 0.5561 GB, free: 4.469 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02929/0.3377, allocations: 30.74 MB / 0.5861 GB, free: 13.79 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01987/0.3576, allocations: 19.71 MB / 0.6054 GB, free: 11.07 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01728/0.3748, allocations: 16.09 MB / 0.6211 GB, free: 12.21 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005715/0.3806, allocations: 4.027 MB / 0.625 GB, free: 8.184 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007317/0.3879, allocations: 6.003 MB / 0.6309 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01023/0.3981, allocations: 15.18 MB / 0.6457 GB, free: 3.66 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.014/0.4121, allocations: 10.57 MB / 0.656 GB, free: 9.555 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.4347/0.8468, allocations: 59.65 MB / 0.7143 GB, free: 80.6 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8469, allocations: 0 / 0.7143 GB, free: 80.6 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8469, allocations: 0 / 0.7143 GB, free: 80.6 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001737/0.8486, allocations: 0 / 0.7143 GB, free: 80.6 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.06737/0.916, allocations: 33.63 MB / 0.7471 GB, free: 68.62 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.916, allocations: 8.328 kB / 0.7472 GB, free: 68.62 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009901/0.9259, allocations: 3.733 MB / 0.7508 GB, free: 68.39 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02696/0.9529, allocations: 8.312 MB / 0.7589 GB, free: 66.62 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03167/0.9845, allocations: 22.06 MB / 0.7805 GB, free: 60.5 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009048/0.9854, allocations: 1.595 MB / 0.782 GB, free: 59.87 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00783/0.9933, allocations: 2.176 MB / 0.7841 GB, free: 59.21 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08152/1.075, allocations: 57.23 MB / 0.84 GB, free: 5.121 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008789/1.076, allocations: 244.8 kB / 0.8403 GB, free: 4.965 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005092/1.081, allocations: 0.9589 MB / 0.8412 GB, free: 4.113 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006322/1.087, allocations: 7.598 MB / 0.8486 GB, free: 12.61 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0741/1.161, allocations: 45.64 MB / 0.8932 GB, free: 15.71 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.4264/1.588, allocations: 228.3 MB / 1.116 GB, free: 117.4 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03867/1.626, allocations: 27.3 MB / 1.143 GB, free: 92.61 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01336/1.64, allocations: 16.72 MB / 1.159 GB, free: 75.89 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.641, allocations: 0.9933 MB / 1.16 GB, free: 74.9 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03887/1.68, allocations: 21.55 MB / 1.181 GB, free: 53.28 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=838): time 1.775e-05/1.68, allocations: 7.984 kB / 1.181 GB, free: 53.27 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 658] [Calling sys.exit(0), Time elapsed: 4.0457362942397594]