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.05624/0.05624, allocations: 9.126 MB / 18.91 MB, free: 0.7305 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.01085/0.0671, allocations: 3.41 MB / 22.32 MB, free: 3.809 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.0008539/0.0008539, allocations: 94.81 kB / 23.16 MB, free: 2.977 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002329, allocations: 438.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.001102/0.001102, allocations: 160.9 kB / 24.47 MB, free: 1.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002556, allocations: 471.1 kB / 24.93 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.9608/0.9608, allocations: 177.1 MB / 202.8 MB, free: 8.375 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1376/1.098, allocations: 53.67 MB / 256.5 MB, free: 5.387 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.1093/0.1093, allocations: 10.58 MB / 267.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01056/0.1198, allocations: 3.714 MB / 271.5 MB, free: 6.68 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.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.185e-06/9.688e-06, allocations: 2.312 kB / 272.7 MB, free: 5.473 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 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.03898/0.03899, allocations: 54.85 MB / 327.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2481/0.2871, allocations: 17.79 MB / 345.4 MB, free: 1.773 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009237/0.2963, allocations: 0.5694 MB / 345.9 MB, free: 1.773 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02757/0.3239, allocations: 30.97 MB / 376.9 MB, free: 15.74 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.3383, allocations: 8.414 MB / 385.3 MB, free: 11.74 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008167/0.3464, allocations: 6.388 MB / 391.7 MB, free: 7.055 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02891/0.3753, allocations: 33.04 MB / 424.7 MB, free: 7.891 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03463/0.41, allocations: 34.67 MB / 459.4 MB, free: 6.344 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02938/0.4393, allocations: 23.49 MB / 482.9 MB, free: 15.86 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02237/0.4617, allocations: 17.68 MB / 0.4889 GB, free: 15.36 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01002/0.4717, allocations: 4.984 MB / 0.4937 GB, free: 10.38 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/0.4856, allocations: 6.356 MB / 0.4999 GB, free: 4.113 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.1701/0.6557, allocations: 15.18 MB / 0.5148 GB, free: 74.8 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02984/0.6855, allocations: 10.1 MB / 0.5246 GB, free: 74.8 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04803/0.7335, allocations: 31.01 MB / 0.5549 GB, free: 72.44 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.125e-05/0.7335, allocations: 0.625 kB / 0.5549 GB, free: 72.44 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7335, allocations: 3.281 kB / 0.5549 GB, free: 72.44 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.002081/0.7356, allocations: 0.5625 kB / 0.5549 GB, free: 72.44 MB / 458.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.08971/0.8253, allocations: 33.11 MB / 0.5872 GB, free: 52.21 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.8254, allocations: 9.906 kB / 0.5873 GB, free: 52.21 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01661/0.842, allocations: 3.852 MB / 0.591 GB, free: 50.36 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02485/0.8669, allocations: 5.194 MB / 0.5961 GB, free: 46.36 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02342/0.8903, allocations: 16.43 MB / 0.6121 GB, free: 31.25 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009586/0.8912, allocations: 1.786 MB / 0.6139 GB, free: 29.54 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00787/0.8991, allocations: 2.424 MB / 0.6162 GB, free: 27.22 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05505/0.9542, allocations: 26.59 MB / 0.6422 GB, free: 88 kB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009011/0.9551, allocations: 221.8 kB / 0.6424 GB, free: 15.95 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003786/0.9588, allocations: 1.052 MB / 0.6435 GB, free: 14.98 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0048/0.9636, allocations: 5.899 MB / 0.6492 GB, free: 9.152 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03681/1, allocations: 12.57 MB / 0.6615 GB, free: 13.33 MB / 490.8 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.355/1.355, allocations: 165.9 MB / 0.8235 GB, free: 70.96 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0368/1.392, allocations: 20.53 MB / 0.8435 GB, free: 50.54 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007428/1.4, allocations: 2.76 MB / 0.8462 GB, free: 47.75 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.401, allocations: 0.8233 MB / 0.847 GB, free: 46.94 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02671/1.427, allocations: 9.922 MB / 0.8567 GB, free: 37.07 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=838): time 1.657e-05/1.428, allocations: 0 / 0.8567 GB, free: 37.07 MB / 0.4949 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: 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: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.416969297453761]