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.07795/0.07795, allocations: 12.18 MB / 31 MB, free: 1.301 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.001353/0.001353, allocations: 106.5 kB / 37.23 MB, free: 3.035 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.001739/0.001739, allocations: 208.3 kB / 43.59 MB, free: 5.422 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.677/1.677, allocations: 230.6 MB / 280.3 MB, free: 7.898 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.0917/0.0917, allocations: 13.88 MB / 353.7 MB, free: 4.086 MB / 270.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",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.04138/0.04138, allocations: 20.76 MB / 0.4985 GB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4699, allocations: 59.68 MB / 0.5568 GB, free: 380 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.07396/0.5439, allocations: 59.75 MB / 0.6151 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.045/0.5889, allocations: 16.2 MB / 0.6309 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01815/0.607, allocations: 0.5714 MB / 0.6315 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06147/0.6685, allocations: 31.4 MB / 0.6622 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02952/0.698, allocations: 7.989 MB / 0.67 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01655/0.7146, allocations: 5.484 MB / 0.6753 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.05894/0.7735, allocations: 27.51 MB / 0.7022 GB, free: 11.37 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5227/1.296, allocations: 30.54 MB / 0.732 GB, free: 16.01 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02716/1.323, allocations: 13.08 MB / 0.7448 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03345/1.357, allocations: 17.03 MB / 0.7614 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01734/1.374, allocations: 4.056 MB / 0.7654 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02086/1.395, allocations: 5.449 MB / 0.7707 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02803/1.423, allocations: 15.32 MB / 0.7856 GB, free: 7.738 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.04674/1.47, allocations: 17.22 MB / 0.8025 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.1027/1.572, allocations: 58.61 MB / 0.8597 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/1.572, allocations: 0 / 0.8597 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.615e-06/1.572, allocations: 0 / 0.8597 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002228/1.575, allocations: 0 / 0.8597 GB, free: 12.99 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.1315/1.706, allocations: 35.29 MB / 0.8942 GB, free: 9.895 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/1.706, allocations: 8.625 kB / 0.8942 GB, free: 9.887 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02694/1.733, allocations: 3.928 MB / 0.898 GB, free: 6.027 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06876/1.802, allocations: 7.791 MB / 0.9056 GB, free: 14.27 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06796/1.87, allocations: 24.05 MB / 0.9291 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002278/1.872, allocations: 1.792 MB / 0.9308 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01316/1.885, allocations: 2.441 MB / 0.9332 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8677/2.753, allocations: 56.33 MB / 0.9882 GB, free: 227 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001906/2.755, allocations: 236.6 kB / 0.9885 GB, free: 226.9 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009953/2.765, allocations: 1.053 MB / 0.9895 GB, free: 226.2 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01005/2.775, allocations: 6.201 MB / 0.9955 GB, free: 223.8 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09721/2.872, allocations: 46.67 MB / 1.041 GB, free: 195.1 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.7209/3.593, allocations: 222.9 MB / 1.259 GB, free: 127.2 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06468/3.658, allocations: 26.65 MB / 1.285 GB, free: 126.6 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02012/3.678, allocations: 16.11 MB / 1.301 GB, free: 125.7 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/3.679, allocations: 0.6289 MB / 1.301 GB, free: 125.6 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05683/3.736, allocations: 20.5 MB / 1.321 GB, free: 117.8 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.047e-05/3.736, allocations: 3.531 kB / 1.321 GB, free: 117.8 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 656] [Calling sys.exit(0), Time elapsed: 7.569742769002914] Failed to read output from testmodel.py, exit status != 0: 4.268631735001691 4.539311995 2.963196602 Calling exit ...