Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput.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.03712/0.03712, 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.0007048/0.0007048, 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.0007287/0.0007287, 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.8898/0.8898, allocations: 177.1 MB / 224 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.03817/0.03817, allocations: 10.59 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_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 430.1 MB, free: 12.86 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.541e-05, allocations: 2.281 kB / 430.1 MB, free: 12.85 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_NoInput): time 0.03126/0.03128, allocations: 45.76 MB / 475.9 MB, free: 14.9 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.03018/0.06146, allocations: 15.17 MB / 491 MB, free: 15.69 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01506/0.07652, allocations: 0.5246 MB / 491.6 MB, free: 15.16 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03029/0.1068, allocations: 25.08 MB / 0.5045 GB, free: 6.008 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.269/0.3758, allocations: 8.296 MB / 0.5126 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.3863, allocations: 6.028 MB / 0.5185 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03853/0.4248, allocations: 33.02 MB / 0.5508 GB, free: 6.672 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03488/0.4597, allocations: 29.93 MB / 0.58 GB, free: 2.566 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04196/0.5017, allocations: 19.36 MB / 0.5989 GB, free: 188 kB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02246/0.5241, allocations: 15.91 MB / 0.6144 GB, free: 1.504 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01038/0.5345, allocations: 3.953 MB / 0.6183 GB, free: 13.55 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.5471, allocations: 5.278 MB / 0.6234 GB, free: 8.391 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01872/0.5658, allocations: 15.02 MB / 0.6381 GB, free: 9.914 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02329/0.5891, allocations: 10.39 MB / 0.6483 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.06655/0.6557, allocations: 58.35 MB / 0.7052 GB, free: 7.008 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.6557, allocations: 0 / 0.7052 GB, free: 7.008 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6557, allocations: 0 / 0.7052 GB, free: 7.008 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.002091/0.6578, allocations: 0 / 0.7052 GB, free: 7.008 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7553 * Number of variables: 7553 Notification: Performance of Generate backend data structure: time 0.5071/1.165, allocations: 32.9 MB / 0.7374 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.165, allocations: 12.62 kB / 0.7374 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01384/1.179, allocations: 3.674 MB / 0.741 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02868/1.207, allocations: 8.244 MB / 0.749 GB, free: 155.4 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0378/1.245, allocations: 21.68 MB / 0.7702 GB, free: 134.6 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/1.246, allocations: 1.56 MB / 0.7717 GB, free: 133.1 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01055/1.257, allocations: 2.121 MB / 0.7738 GB, free: 131.1 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1033/1.36, allocations: 56.72 MB / 0.8292 GB, free: 71.88 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001423/1.362, allocations: 254.1 kB / 0.8294 GB, free: 71.63 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01024/1.372, allocations: 0.9404 MB / 0.8304 GB, free: 70.8 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007422/1.379, allocations: 7.577 MB / 0.8378 GB, free: 63.25 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07727/1.457, allocations: 45.34 MB / 0.882 GB, free: 17.9 MB / 0.5419 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.5371/1.994, allocations: 226.1 MB / 1.103 GB, free: 26.02 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04053/2.034, allocations: 26.77 MB / 1.129 GB, free: 15.26 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02173/2.056, allocations: 16.57 MB / 1.145 GB, free: 14.68 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/2.058, allocations: 0.995 MB / 1.146 GB, free: 13.69 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3212/2.379, allocations: 21.3 MB / 1.167 GB, free: 211.2 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=788): time 3.065e-05/2.379, allocations: 1.281 kB / 1.167 GB, free: 211.2 MB / 0.6044 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.6719496147707105] Failed to read output from testmodel.py, exit status != 0: 2.732758268713951 2.741149534 2.083342335 Calling exit ...