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.0493/0.0493, allocations: 9.123 MB / 18.9 MB, free: 0.7344 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.004539/0.05384, allocations: 3.42 MB / 22.32 MB, free: 3.805 MB / 24.77 MB " [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.0005552/0.0005552, allocations: 94.95 kB / 23.16 MB, free: 2.98 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009708/0.001526, allocations: 442.9 kB / 23.59 MB, free: 2.547 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.0006998/0.0006998, allocations: 156.9 kB / 24.47 MB, free: 1.672 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009317/0.001631, allocations: 474.5 kB / 24.94 MB, free: 1.207 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.9451/0.9451, allocations: 177.2 MB / 202.8 MB, free: 8.379 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1658/1.111, allocations: 53.67 MB / 256.5 MB, free: 5.41 MB / 250.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.04546/0.04546, allocations: 10.59 MB / 267.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00758/0.05304, allocations: 3.71 MB / 271.5 MB, free: 6.703 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 272.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.707e-05, allocations: 6.312 kB / 272.7 MB, free: 5.488 MB / 266.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 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.03789/0.03791, allocations: 55.17 MB / 327.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2619/0.2998, allocations: 16.82 MB / 344.7 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/0.3116, allocations: 0.5756 MB / 345.3 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03007/0.3417, allocations: 30.88 MB / 376.2 MB, free: 15.8 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0173/0.359, allocations: 8.219 MB / 384.4 MB, free: 12.29 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00925/0.3683, allocations: 5.837 MB / 390.2 MB, free: 8.285 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03192/0.4002, allocations: 31.34 MB / 421.6 MB, free: 10.82 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03504/0.4352, allocations: 32.62 MB / 454.2 MB, free: 11.32 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02837/0.4636, allocations: 21.82 MB / 476 MB, free: 6.5 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02016/0.4837, allocations: 17.27 MB / 493.3 MB, free: 6.418 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007031/0.4908, allocations: 4.16 MB / 497.4 MB, free: 2.258 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008795/0.4996, allocations: 5.529 MB / 0.4912 GB, free: 12.83 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.2789/0.7785, allocations: 14.35 MB / 0.5052 GB, free: 70.02 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.01859/0.7971, allocations: 9.205 MB / 0.5142 GB, free: 70.02 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.02228/0.8193, allocations: 28.77 MB / 0.5423 GB, free: 68.03 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.8194, allocations: 0 / 0.5423 GB, free: 68.03 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.242e-06/0.8194, allocations: 0 / 0.5423 GB, free: 68.03 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.0008189/0.8202, allocations: 0 / 0.5423 GB, free: 68.03 MB / 458.9 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.04225/0.8624, allocations: 32.67 MB / 0.5742 GB, free: 56.09 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.8625, allocations: 15.47 kB / 0.5742 GB, free: 56.08 MB / 458.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003711/0.8662, allocations: 3.856 MB / 0.578 GB, free: 55.84 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00888/0.875, allocations: 5.138 MB / 0.583 GB, free: 55.3 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.8882, allocations: 15.02 MB / 0.5977 GB, free: 44.11 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005476/0.8888, allocations: 1.783 MB / 0.5994 GB, free: 42.4 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.8909, allocations: 2.443 MB / 0.6018 GB, free: 40.07 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02726/0.9181, allocations: 26.58 MB / 0.6277 GB, free: 12.95 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004759/0.9186, allocations: 225.5 kB / 0.628 GB, free: 12.82 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001684/0.9203, allocations: 1.042 MB / 0.629 GB, free: 11.86 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003324/0.9236, allocations: 5.521 MB / 0.6344 GB, free: 6.402 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0218/0.9454, allocations: 12.53 MB / 0.6466 GB, free: 10.62 MB / 474.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.3097/1.255, allocations: 154.6 MB / 0.7975 GB, free: 79.59 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02807/1.283, allocations: 20.55 MB / 0.8176 GB, free: 72.83 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004791/1.288, allocations: 2.782 MB / 0.8203 GB, free: 70.33 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008874/1.289, allocations: 0.8008 MB / 0.8211 GB, free: 69.75 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02198/1.311, allocations: 9.927 MB / 0.8308 GB, free: 62.47 MB / 0.495 GB Notification: Performance of pre-optimization done (n=847): time 1.272e-05/1.311, allocations: 0 / 0.8308 GB, free: 62.47 MB / 0.495 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.1553742196410894]