Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.07116/0.07116, allocations: 12.17 MB / 31 MB, free: 1.309 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.001199/0.001199, allocations: 108.8 kB / 37.23 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.00146/0.00146, allocations: 212.3 kB / 43.59 MB, free: 5.395 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.441/1.441, allocations: 230.6 MB / 280.3 MB, free: 8.023 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.0642/0.0642, allocations: 13.89 MB / 353.7 MB, free: 4.117 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.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",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.03061/0.03061, allocations: 20.76 MB / 0.4985 GB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2653, allocations: 59.67 MB / 0.5568 GB, free: 432 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.06176/0.3271, allocations: 59.76 MB / 0.6151 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03352/0.3606, allocations: 16.19 MB / 0.6309 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009702/0.3703, allocations: 0.5753 MB / 0.6315 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05369/0.424, allocations: 31.4 MB / 0.6622 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01885/0.4428, allocations: 7.998 MB / 0.67 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.4536, allocations: 5.478 MB / 0.6753 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.03639/0.49, allocations: 27.5 MB / 0.7022 GB, free: 11.41 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2826/0.7726, allocations: 30.55 MB / 0.732 GB, free: 16.21 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0167/0.7893, allocations: 13.07 MB / 0.7448 GB, free: 15.82 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02198/0.8112, allocations: 17.02 MB / 0.7614 GB, free: 14.58 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01041/0.8217, allocations: 4.062 MB / 0.7654 GB, free: 14.58 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.8351, allocations: 5.444 MB / 0.7707 GB, free: 14.58 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01819/0.8533, allocations: 15.33 MB / 0.7856 GB, free: 7.898 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02827/0.8816, allocations: 17.2 MB / 0.8024 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.07129/0.9529, allocations: 58.61 MB / 0.8597 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9529, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9529, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.001469/0.9543, allocations: 0 / 0.8597 GB, free: 13.09 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.09542/1.05, allocations: 35.28 MB / 0.8941 GB, free: 9.996 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.05, allocations: 12.62 kB / 0.8941 GB, free: 9.984 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0121/1.062, allocations: 3.926 MB / 0.898 GB, free: 6.129 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03852/1.1, allocations: 7.789 MB / 0.9056 GB, free: 14.37 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04965/1.15, allocations: 24.06 MB / 0.9291 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001799/1.152, allocations: 1.789 MB / 0.9308 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008923/1.161, allocations: 2.448 MB / 0.9332 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5125/1.673, allocations: 56.32 MB / 0.9882 GB, free: 227.4 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001157/1.674, allocations: 234.6 kB / 0.9884 GB, free: 227.3 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005405/1.68, allocations: 1.052 MB / 0.9895 GB, free: 226.7 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007909/1.688, allocations: 6.202 MB / 0.9955 GB, free: 224.3 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07579/1.764, allocations: 46.67 MB / 1.041 GB, free: 195.2 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.4849/2.248, allocations: 222.8 MB / 1.259 GB, free: 126.8 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0561/2.305, allocations: 26.68 MB / 1.285 GB, free: 126.2 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01615/2.321, allocations: 16.1 MB / 1.3 GB, free: 125.4 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/2.322, allocations: 0.6247 MB / 1.301 GB, free: 125.3 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04958/2.372, allocations: 20.49 MB / 1.321 GB, free: 117.5 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 1.197e-05/2.372, allocations: 6.234 kB / 1.321 GB, free: 117.5 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: 5.375659171957523] Failed to read output from testmodel.py, exit status != 0: 2.8339304639957845 3.019319936 2.063843513 Calling exit ...