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.06721/0.06721, allocations: 12.18 MB / 31.8 MB, free: 1.352 MB / 19.63 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.001242/0.001242, allocations: 112.1 kB / 38.02 MB, free: 3.008 MB / 26.18 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.001773/0.001773, allocations: 208.3 kB / 44.38 MB, free: 5.398 MB / 34.91 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 1.509/1.509, allocations: 230.6 MB / 281.1 MB, free: 7.938 MB / 206.1 MB " [Timeout remaining time 178] 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.06286/0.06286, allocations: 13.89 MB / 354.5 MB, free: 4.105 MB / 270.1 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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.03338/0.03338, allocations: 20.58 MB / 0.4991 GB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.3079, allocations: 59.67 MB / 0.5574 GB, free: 464 kB / 366.1 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.06594/0.3739, allocations: 59.76 MB / 0.6157 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03732/0.4112, allocations: 16.2 MB / 0.6315 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01324/0.4244, allocations: 0.5791 MB / 0.6321 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05721/0.4816, allocations: 31.39 MB / 0.6628 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02015/0.5018, allocations: 7.993 MB / 0.6706 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01244/0.5142, allocations: 5.474 MB / 0.6759 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04274/0.557, allocations: 27.51 MB / 0.7028 GB, free: 11.44 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3303/0.8873, allocations: 30.53 MB / 0.7326 GB, free: 16.19 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02211/0.9094, allocations: 13.07 MB / 0.7454 GB, free: 15.79 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02551/0.9349, allocations: 17.03 MB / 0.762 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01286/0.9478, allocations: 4.059 MB / 0.7659 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01737/0.9651, allocations: 5.454 MB / 0.7713 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01973/0.9849, allocations: 15.32 MB / 0.7862 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.03402/1.019, allocations: 17.2 MB / 0.803 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.08172/1.101, allocations: 58.61 MB / 0.8603 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/1.101, allocations: 4 kB / 0.8603 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.515e-06/1.101, allocations: 0 / 0.8603 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002621/1.103, allocations: 0 / 0.8603 GB, free: 13.07 MB / 0.5919 GB 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.1136/1.217, allocations: 35.28 MB / 0.8947 GB, free: 9.977 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.217, allocations: 8.625 kB / 0.8947 GB, free: 9.969 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008469/1.218, allocations: 0.6794 MB / 0.8954 GB, free: 9.289 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01491/1.233, allocations: 3.922 MB / 0.8992 GB, free: 5.438 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04411/1.277, allocations: 7.79 MB / 0.9068 GB, free: 13.68 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05406/1.331, allocations: 24.05 MB / 0.9303 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002064/1.333, allocations: 1.798 MB / 0.9321 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01035/1.343, allocations: 2.436 MB / 0.9345 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6937/2.037, allocations: 56.33 MB / 0.9895 GB, free: 226.6 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001726/2.039, allocations: 238.6 kB / 0.9897 GB, free: 226.5 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008479/2.047, allocations: 1.042 MB / 0.9907 GB, free: 225.8 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009106/2.056, allocations: 6.208 MB / 0.9968 GB, free: 223.4 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09159/2.148, allocations: 46.67 MB / 1.042 GB, free: 194.4 MB / 0.6858 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.5801/2.728, allocations: 222.9 MB / 1.26 GB, free: 127 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06147/2.789, allocations: 26.66 MB / 1.286 GB, free: 126.5 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01957/2.809, allocations: 16.11 MB / 1.302 GB, free: 125.5 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/2.811, allocations: 0.6302 MB / 1.302 GB, free: 125.4 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0579/2.869, allocations: 20.49 MB / 1.322 GB, free: 117.4 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.363e-05/2.869, allocations: 0 / 1.322 GB, free: 117.4 MB / 0.6858 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 6.134632392087951] Failed to read output from testmodel.py, exit status != 0: 3.395203687949106 3.618025222 2.514634333 Calling exit ...