Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.07127/0.07127, allocations: 9.137 MB / 29.24 MB, free: 0.9883 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.000963/0.000963, allocations: 94.41 kB / 35.46 MB, free: 1.348 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.001049/0.001049, allocations: 161.5 kB / 41.79 MB, free: 1.562 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.9081/0.9081, allocations: 177.1 MB / 225.1 MB, free: 8.727 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.04051/0.04051, allocations: 10.58 MB / 295.2 MB, free: 5.859 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.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 372.3 MB, free: 65.15 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.96e-05, allocations: 3.469 kB / 372.3 MB, free: 65.14 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 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 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 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 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 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 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 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 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.Tests.controlModuleTest2): time 0.04424/0.04427, allocations: 56.6 MB / 428.9 MB, free: 14.41 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03093/0.0752, allocations: 16.03 MB / 445 MB, free: 14.46 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01372/0.08892, allocations: 0.5714 MB / 445.5 MB, free: 13.89 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03548/0.1244, allocations: 33.32 MB / 478.8 MB, free: 12.48 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01972/0.1441, allocations: 8.236 MB / 487.1 MB, free: 4.199 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.1551, allocations: 6.139 MB / 493.2 MB, free: 14.05 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.24/0.3951, allocations: 32.46 MB / 0.5134 GB, free: 17.45 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05181/0.4469, allocations: 34.89 MB / 0.5474 GB, free: 16 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04921/0.4961, allocations: 20.78 MB / 0.5677 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02457/0.5207, allocations: 17.98 MB / 0.5853 GB, free: 4.551 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01378/0.5345, allocations: 4.163 MB / 0.5893 GB, free: 4.551 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.5506, allocations: 5.495 MB / 0.5947 GB, free: 4.082 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02411/0.5747, allocations: 16.18 MB / 0.6105 GB, free: 4.973 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02712/0.6019, allocations: 11.21 MB / 0.6215 GB, free: 10.27 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04904/0.6509, allocations: 30.71 MB / 0.6515 GB, free: 13.3 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.6509, allocations: 4 kB / 0.6515 GB, free: 13.29 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6509, allocations: 3.938 kB / 0.6515 GB, free: 13.29 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001735/0.6526, allocations: 4 kB / 0.6515 GB, free: 13.29 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7899 * Number of variables: 7899 Notification: Performance of Generate backend data structure: time 0.07919/0.7318, allocations: 36.85 MB / 0.6875 GB, free: 8.496 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.7319, allocations: 8.625 kB / 0.6875 GB, free: 8.488 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02663/0.7585, allocations: 8.51 MB / 0.6958 GB, free: 40 kB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3217/1.08, allocations: 18.91 MB / 0.7142 GB, free: 189.8 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001663/1.082, allocations: 1.79 MB / 0.716 GB, free: 189.1 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008142/1.09, allocations: 2.434 MB / 0.7184 GB, free: 188.3 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09558/1.186, allocations: 32.41 MB / 0.75 GB, free: 161.5 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001891/1.187, allocations: 210.4 kB / 0.7502 GB, free: 161.2 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01009/1.198, allocations: 1.042 MB / 0.7512 GB, free: 160.3 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008027/1.206, allocations: 6.211 MB / 0.7573 GB, free: 154.1 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04835/1.254, allocations: 17.18 MB / 0.7741 GB, free: 137 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.3941/1.648, allocations: 210.1 MB / 0.9792 GB, free: 48.39 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04007/1.688, allocations: 22.01 MB / 1.001 GB, free: 47.68 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009662/1.698, allocations: 4.503 MB / 1.005 GB, free: 47.55 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/1.699, allocations: 0.6108 MB / 1.006 GB, free: 47.52 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03479/1.734, allocations: 14.27 MB / 1.02 GB, free: 46.78 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=901): time 2.094e-05/1.734, allocations: 3.969 kB / 1.02 GB, free: 46.78 MB / 0.5106 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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.276202409993857]