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.042/0.042, allocations: 9.134 MB / 29.23 MB, free: 0.9727 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.0008911/0.0008911, allocations: 95.06 kB / 35.46 MB, free: 1.332 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.00134/0.00134, allocations: 162.2 kB / 41.79 MB, free: 1.566 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 1.011/1.011, allocations: 177.1 MB / 225.1 MB, free: 8.719 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.04228/0.04228, allocations: 10.57 MB / 295.2 MB, free: 5.871 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: translateModel(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 372.3 MB, free: 65.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.63e-05, allocations: 3.969 kB / 372.3 MB, free: 65.05 MB / 330.7 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.05283/0.05285, allocations: 53.77 MB / 426.1 MB, free: 17.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03097/0.08382, allocations: 16.23 MB / 442.3 MB, free: 1.016 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01076/0.09458, allocations: 0.5478 MB / 442.9 MB, free: 476 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03417/0.1288, allocations: 26.54 MB / 469.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0222/0.1509, allocations: 8.648 MB / 478.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01252/0.1635, allocations: 6.394 MB / 484.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03673/0.2002, allocations: 33.73 MB / 0.5061 GB, free: 5.027 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3718/0.572, allocations: 31.26 MB / 0.5366 GB, free: 18.53 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04056/0.6126, allocations: 19.79 MB / 0.5559 GB, free: 17.36 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02678/0.6394, allocations: 16.81 MB / 0.5723 GB, free: 14.29 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01193/0.6513, allocations: 4.024 MB / 0.5763 GB, free: 14.29 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01893/0.6702, allocations: 5.993 MB / 0.5821 GB, free: 13.86 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02224/0.6925, allocations: 15.28 MB / 0.597 GB, free: 5.375 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02665/0.7191, allocations: 10.57 MB / 0.6074 GB, free: 11.27 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05172/0.7708, allocations: 30.24 MB / 0.6369 GB, free: 14.77 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.7708, allocations: 0 / 0.6369 GB, free: 14.77 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7708, allocations: 0 / 0.6369 GB, free: 14.77 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001626/0.7725, allocations: 4 kB / 0.6369 GB, free: 14.76 MB / 458.8 MB 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.07042/0.8429, allocations: 34.61 MB / 0.6707 GB, free: 12.26 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8429, allocations: 12.62 kB / 0.6707 GB, free: 12.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02509/0.868, allocations: 8.379 MB / 0.6789 GB, free: 3.957 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3095/1.177, allocations: 19.34 MB / 0.6978 GB, free: 174.1 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001521/1.179, allocations: 1.598 MB / 0.6993 GB, free: 173.5 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006688/1.186, allocations: 2.168 MB / 0.7014 GB, free: 172.9 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07661/1.262, allocations: 32.13 MB / 0.7328 GB, free: 149.4 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001096/1.263, allocations: 232.8 kB / 0.733 GB, free: 149.2 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005684/1.269, allocations: 0.9613 MB / 0.734 GB, free: 148.4 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006657/1.276, allocations: 7.601 MB / 0.7414 GB, free: 140.8 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05616/1.332, allocations: 16.47 MB / 0.7575 GB, free: 124.4 MB / 490.9 MB 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.4541/1.786, allocations: 234 MB / 0.986 GB, free: 43.57 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0413/1.827, allocations: 21.65 MB / 1.007 GB, free: 42.96 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01065/1.838, allocations: 4.422 MB / 1.012 GB, free: 42.86 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/1.84, allocations: 1.014 MB / 1.012 GB, free: 42.83 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03702/1.877, allocations: 14.29 MB / 1.026 GB, free: 40.93 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=838): time 1.86e-05/1.877, allocations: 0 / 1.026 GB, free: 40.93 MB / 0.5263 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.4320780681446195]