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.04345/0.04345, allocations: 9.129 MB / 28.98 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.0008828/0.0008828, allocations: 94.58 kB / 35.19 MB, free: 1.508 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.001053/0.001053, allocations: 148.7 kB / 41.46 MB, free: 1.77 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.8489/0.8489, allocations: 177.1 MB / 224.8 MB, free: 8.816 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.03803/0.03803, allocations: 10.58 MB / 294.8 MB, free: 6.031 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.674e-06/1.674e-06, allocations: 0 / 431.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.195e-05, allocations: 2.281 kB / 431.4 MB, free: 12.38 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.03187/0.03189, allocations: 48.03 MB / 479.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03296/0.06485, allocations: 16.1 MB / 495.5 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01497/0.07982, allocations: 0.5478 MB / 496.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02728/0.1071, allocations: 25.19 MB / 0.509 GB, free: 2.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4087/0.5158, allocations: 8.644 MB / 0.5175 GB, free: 9.461 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007773/0.5236, allocations: 6.342 MB / 0.5237 GB, free: 9.348 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.02549/0.549, allocations: 33.71 MB / 0.5566 GB, free: 4.453 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02845/0.5775, allocations: 30.78 MB / 0.5866 GB, free: 14.17 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02531/0.6028, allocations: 19.71 MB / 0.6059 GB, free: 11.45 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01448/0.6173, allocations: 16.1 MB / 0.6216 GB, free: 12.59 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003567/0.6209, allocations: 4.023 MB / 0.6255 GB, free: 8.562 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005459/0.6263, allocations: 6 MB / 0.6314 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008719/0.635, allocations: 15.17 MB / 0.6462 GB, free: 4.059 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0117/0.6467, allocations: 10.51 MB / 0.6565 GB, free: 10.02 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.04589/0.6926, allocations: 59.36 MB / 0.7144 GB, free: 92 kB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6926, allocations: 3.938 kB / 0.7144 GB, free: 88 kB / 0.5418 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6926, allocations: 0 / 0.7144 GB, free: 88 kB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.001489/0.6941, allocations: 0 / 0.7144 GB, free: 88 kB / 0.5418 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.4342/1.128, allocations: 33.34 MB / 0.747 GB, free: 163.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.128, allocations: 12.62 kB / 0.747 GB, free: 163.5 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/1.146, allocations: 6.054 MB / 0.7529 GB, free: 157.5 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03038/1.176, allocations: 20.88 MB / 0.7733 GB, free: 136.7 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007963/1.177, allocations: 1.597 MB / 0.7749 GB, free: 135.2 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006048/1.183, allocations: 2.177 MB / 0.777 GB, free: 133.1 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07919/1.262, allocations: 57.38 MB / 0.833 GB, free: 73.21 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001068/1.264, allocations: 250.1 kB / 0.8333 GB, free: 72.96 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006171/1.27, allocations: 0.9583 MB / 0.8342 GB, free: 72.11 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006341/1.276, allocations: 7.596 MB / 0.8416 GB, free: 64.54 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06751/1.344, allocations: 45.97 MB / 0.8865 GB, free: 18.56 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.4587/1.802, allocations: 224.1 MB / 1.105 GB, free: 26.04 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04029/1.843, allocations: 27.36 MB / 1.132 GB, free: 14.67 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01855/1.861, allocations: 16.79 MB / 1.148 GB, free: 13.87 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/1.863, allocations: 1.003 MB / 1.149 GB, free: 12.88 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2909/2.154, allocations: 21.63 MB / 1.171 GB, free: 209.4 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=838): time 2.727e-05/2.154, allocations: 0 / 1.171 GB, free: 209.4 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 658] [Calling sys.exit(0), Time elapsed: 4.312509196810424] Failed to read output from testmodel.py, exit status != 0: 2.4846761859953403 2.492283793 1.797937552 Calling exit ...