Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.04145/0.04145, allocations: 9.138 MB / 28.7 MB, free: 0.5352 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.001234/0.001234, allocations: 90.41 kB / 34.99 MB, free: 1.129 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.001078/0.001078, allocations: 166.5 kB / 41.38 MB, free: 1.469 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.9321/0.9321, allocations: 177.1 MB / 224.8 MB, free: 8.695 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.04088/0.04088, allocations: 10.58 MB / 294.9 MB, free: 5.773 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.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 372.4 MB, free: 64.94 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.567e-05, allocations: 3.578 kB / 372.4 MB, free: 64.93 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 drone.propellerRev.blades.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 drone.propellerRev.blades.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 drone.propellerRev1.blades.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 drone.propellerRev1.blades.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 drone.propellerRev2.blades.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 drone.propellerRev2.blades.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 drone.propellerRev3.blades.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 drone.propellerRev3.blades.bodyShape4.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.DroneWithIdealPower.TestSystem): time 0.03509/0.0351, allocations: 56.98 MB / 429.4 MB, free: 13.62 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0316/0.0667, allocations: 17.01 MB / 446.4 MB, free: 12.7 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01301/0.07971, allocations: 0.5714 MB / 447 MB, free: 12.12 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03404/0.1137, allocations: 33.58 MB / 480.6 MB, free: 10.45 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02048/0.1342, allocations: 8.435 MB / 489 MB, free: 1.969 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01027/0.1445, allocations: 6.675 MB / 495.7 MB, free: 11.29 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2178/0.3623, allocations: 34.15 MB / 0.5174 GB, free: 17.7 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04216/0.4045, allocations: 36.94 MB / 0.5535 GB, free: 14.72 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04211/0.4466, allocations: 22.49 MB / 0.5754 GB, free: 4.121 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02351/0.4701, allocations: 18.45 MB / 0.5934 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01018/0.4803, allocations: 4.996 MB / 0.5983 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.4923, allocations: 6.322 MB / 0.6045 GB, free: 11.33 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01904/0.5113, allocations: 17 MB / 0.6211 GB, free: 10.96 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02183/0.5331, allocations: 12.1 MB / 0.6329 GB, free: 15.37 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04106/0.5742, allocations: 32.96 MB / 0.6651 GB, free: 156 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5742, allocations: 0 / 0.6651 GB, free: 156 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5742, allocations: 0 / 0.6651 GB, free: 156 kB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001383/0.5756, allocations: 0 / 0.6651 GB, free: 156 kB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.3623/0.9379, allocations: 37.35 MB / 0.7016 GB, free: 184.2 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9379, allocations: 12.91 kB / 0.7016 GB, free: 184.2 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.9539, allocations: 8.583 MB / 0.71 GB, free: 182.3 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02353/0.9774, allocations: 21.86 MB / 0.7313 GB, free: 172.1 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007019/0.9781, allocations: 1.793 MB / 0.7331 GB, free: 171.4 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/0.9815, allocations: 2.416 MB / 0.7354 GB, free: 169.1 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05592/1.037, allocations: 32.43 MB / 0.7671 GB, free: 135.2 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008185/1.038, allocations: 206.4 kB / 0.7673 GB, free: 135 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003048/1.041, allocations: 1.043 MB / 0.7683 GB, free: 134.1 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006508/1.048, allocations: 6.592 MB / 0.7748 GB, free: 127.5 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05027/1.098, allocations: 17.25 MB / 0.7916 GB, free: 110.4 MB / 0.495 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.4048/1.503, allocations: 226.6 MB / 1.013 GB, free: 53.42 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04214/1.545, allocations: 22 MB / 1.034 GB, free: 52.68 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008098/1.553, allocations: 4.491 MB / 1.039 GB, free: 52.54 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000946/1.554, allocations: 0.6169 MB / 1.039 GB, free: 52.5 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03095/1.585, allocations: 14.29 MB / 1.053 GB, free: 44.4 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=892): time 1.518e-05/1.585, allocations: 0 / 1.053 GB, free: 44.4 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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: 3.9279034878127277]