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.08978/0.08978, allocations: 9.127 MB / 28.99 MB, free: 0.8281 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.0008625/0.0008625, allocations: 98.3 kB / 35.33 MB, free: 1.082 MB / 24.77 MB " [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.001055/0.001055, allocations: 166.1 kB / 38.73 MB, free: 2.52 MB / 24.77 MB " [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.9796/0.9796, allocations: 177.1 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [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.043/0.043, allocations: 10.57 MB / 286.2 MB, free: 7.094 MB / 266.7 MB " [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.613e-06/1.613e-06, allocations: 0 / 307.6 MB, free: 15.5 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.359e-05, allocations: 3.844 kB / 307.6 MB, free: 15.5 MB / 282.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.03772/0.03775, allocations: 55.09 MB / 362.7 MB, free: 9.184 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03608/0.07383, allocations: 16.83 MB / 379.6 MB, free: 8.316 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/0.08648, allocations: 0.5752 MB / 380.1 MB, free: 7.738 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03303/0.1195, allocations: 32.71 MB / 412.9 MB, free: 6.926 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01807/0.1376, allocations: 8.233 MB / 421.1 MB, free: 14.65 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01155/0.1491, allocations: 6.179 MB / 427.3 MB, free: 8.461 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2184/0.3675, allocations: 32.43 MB / 459.7 MB, free: 20.3 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0499/0.4174, allocations: 33.77 MB / 493.5 MB, free: 18.56 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03628/0.4537, allocations: 20.85 MB / 0.5023 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02413/0.4778, allocations: 17.35 MB / 0.5192 GB, free: 5.887 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01087/0.4887, allocations: 4.157 MB / 0.5233 GB, free: 5.887 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/0.502, allocations: 5.54 MB / 0.5287 GB, free: 1.562 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02034/0.5223, allocations: 16.17 MB / 0.5445 GB, free: 2.02 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02299/0.5453, allocations: 11.21 MB / 0.5554 GB, free: 7.32 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04367/0.589, allocations: 30.71 MB / 0.5854 GB, free: 10.36 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.589, allocations: 0 / 0.5854 GB, free: 10.36 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.344e-06/0.589, allocations: 0 / 0.5854 GB, free: 10.36 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001507/0.5905, allocations: 0 / 0.5854 GB, free: 10.36 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.06118/0.6516, allocations: 32.63 MB / 0.6173 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6517, allocations: 8.031 kB / 0.6173 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/0.6696, allocations: 5.175 MB / 0.6223 GB, free: 6.43 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2755/0.9451, allocations: 15.01 MB / 0.637 GB, free: 190.1 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/0.9464, allocations: 1.788 MB / 0.6387 GB, free: 189.3 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005405/0.9519, allocations: 2.436 MB / 0.6411 GB, free: 188.6 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05569/1.008, allocations: 26.55 MB / 0.667 GB, free: 175.4 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001266/1.009, allocations: 215.6 kB / 0.6672 GB, free: 175.2 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005755/1.015, allocations: 1.044 MB / 0.6683 GB, free: 174.2 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/1.019, allocations: 5.527 MB / 0.6737 GB, free: 168.7 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03389/1.053, allocations: 12.54 MB / 0.6859 GB, free: 156.5 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.1539/1.207, allocations: 151.2 MB / 0.8335 GB, free: 5.477 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1861/1.393, allocations: 20.72 MB / 0.8538 GB, free: 161.6 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/1.398, allocations: 2.799 MB / 0.8565 GB, free: 161.5 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.399, allocations: 0.8091 MB / 0.8573 GB, free: 161.5 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02432/1.424, allocations: 10.13 MB / 0.8672 GB, free: 161.1 MB / 0.495 GB Notification: Performance of pre-optimization done (n=847): time 2.106e-05/1.424, allocations: 3.812 kB / 0.8672 GB, free: 161.1 MB / 0.495 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:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.4360909489914775]