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.06303/0.06303, allocations: 12.18 MB / 29.24 MB, free: 1.027 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.001293/0.001293, allocations: 107.4 kB / 35.11 MB, free: 2.305 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.001389/0.001389, allocations: 217.5 kB / 41.11 MB, free: 4.422 MB / 26.18 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.506/1.506, allocations: 230.5 MB / 277.5 MB, free: 15.82 MB / 222.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.06457/0.06457, allocations: 13.89 MB / 350.5 MB, free: 11.33 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,default) 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.02805/0.02805, allocations: 20.57 MB / 0.4934 GB, free: 18.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1496, allocations: 59.66 MB / 0.5517 GB, free: 6.895 MB / 398.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.3274/0.477, allocations: 59.71 MB / 0.61 GB, free: 18.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0373/0.5143, allocations: 16.16 MB / 0.6258 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01956/0.5339, allocations: 0.5735 MB / 0.6263 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05585/0.5897, allocations: 31.25 MB / 0.6569 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02718/0.6169, allocations: 7.977 MB / 0.6646 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01491/0.6318, allocations: 5.45 MB / 0.67 GB, free: 4.707 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04561/0.6774, allocations: 27.49 MB / 0.6968 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06268/0.7401, allocations: 34.89 MB / 0.7309 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02746/0.7675, allocations: 13.07 MB / 0.7436 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03095/0.7985, allocations: 17.01 MB / 0.7603 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01533/0.8138, allocations: 4.055 MB / 0.7642 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0179/0.8317, allocations: 5.447 MB / 0.7695 GB, free: 15.09 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.02598/0.8577, allocations: 15.31 MB / 0.7845 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.03779/0.8955, allocations: 17.21 MB / 0.8013 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.6886/1.584, allocations: 58.6 MB / 0.8585 GB, free: 92.07 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.584, allocations: 0 / 0.8585 GB, free: 92.07 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.124e-06/1.584, allocations: 0 / 0.8585 GB, free: 92.07 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002627/1.587, allocations: 0 / 0.8585 GB, free: 92.07 MB / 0.592 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.1346/1.721, allocations: 35.36 MB / 0.8931 GB, free: 72.23 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.721, allocations: 7.812 kB / 0.8931 GB, free: 72.23 MB / 0.592 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0007687/1.722, allocations: 0.6695 MB / 0.8937 GB, free: 72.18 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02464/1.747, allocations: 3.931 MB / 0.8976 GB, free: 69.55 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04626/1.793, allocations: 7.787 MB / 0.9052 GB, free: 65.66 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05303/1.846, allocations: 24.13 MB / 0.9287 GB, free: 50.1 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/1.848, allocations: 1.793 MB / 0.9305 GB, free: 48.39 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01443/1.862, allocations: 2.44 MB / 0.9329 GB, free: 46.03 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1608/2.023, allocations: 56.32 MB / 0.9879 GB, free: 4.109 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002118/2.025, allocations: 239.8 kB / 0.9881 GB, free: 3.945 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01484/2.04, allocations: 1.047 MB / 0.9891 GB, free: 2.98 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01254/2.052, allocations: 6.209 MB / 0.9952 GB, free: 12.86 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1268/2.179, allocations: 46.66 MB / 1.041 GB, free: 14.86 MB / 0.6702 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.6674/2.847, allocations: 222.8 MB / 1.258 GB, free: 77.16 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06419/2.911, allocations: 27.1 MB / 1.285 GB, free: 49.96 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01849/2.929, allocations: 16.04 MB / 1.3 GB, free: 33.89 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/2.931, allocations: 1.311 MB / 1.302 GB, free: 32.47 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05912/2.99, allocations: 20.49 MB / 1.322 GB, free: 11.9 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 1.76e-05/2.99, allocations: 0 / 1.322 GB, free: 11.9 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.656659365980886] Failed to read output from testmodel.py, exit status != 0: 3.8227921500219963 3.832250843 2.2455596780000002 Calling exit ...