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.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Running command: translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06372/0.06372, allocations: 12.02 MB / 27.65 MB, free: 1.871 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 111.2 kB / 31.36 MB, free: 4.988 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 192.5 kB / 35.2 MB, free: 1.172 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 261.8 MB, free: 7.492 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05652/0.05652, allocations: 13.67 MB / 328.5 MB, free: 480 kB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02754/0.02754, allocations: 19.69 MB / 472.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.282, allocations: 55.39 MB / 0.5154 GB, free: 20.86 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.04815/0.3302, allocations: 61.08 MB / 0.5751 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03319/0.3634, allocations: 16.42 MB / 0.5911 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01148/0.3749, allocations: 0.4973 MB / 0.5916 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04689/0.4218, allocations: 31.12 MB / 0.622 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01851/0.4403, allocations: 8.123 MB / 0.6299 GB, free: 456 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.4504, allocations: 5.41 MB / 0.6352 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03314/0.4836, allocations: 26.96 MB / 0.6615 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05094/0.5346, allocations: 43.93 MB / 0.7044 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01825/0.5528, allocations: 12.97 MB / 0.7171 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2406/0.7935, allocations: 16.17 MB / 0.7329 GB, free: 54.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01158/0.8051, allocations: 4.075 MB / 0.7369 GB, free: 54.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01397/0.8191, allocations: 5.408 MB / 0.7422 GB, free: 54.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01565/0.8348, allocations: 15.15 MB / 0.757 GB, free: 54.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02257/0.8574, allocations: 17.3 MB / 0.7738 GB, free: 49.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04524/0.9027, allocations: 58.91 MB / 0.8314 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9027, allocations: 0 / 0.8314 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9027, allocations: 3.031 kB / 0.8314 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001352/0.9041, allocations: 2.562 kB / 0.8314 GB, free: 13.7 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.07443/0.9785, allocations: 34.78 MB / 0.8654 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.9786, allocations: 12.03 kB / 0.8654 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02493/1.003, allocations: 5.955 MB / 0.8712 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03966/1.043, allocations: 21.26 MB / 0.8919 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/1.045, allocations: 1.81 MB / 0.8937 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009093/1.054, allocations: 2.456 MB / 0.8961 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1155/1.169, allocations: 57.24 MB / 0.952 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001134/1.17, allocations: 231.8 kB / 0.9522 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007731/1.178, allocations: 1.054 MB / 0.9533 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009816/1.188, allocations: 6.492 MB / 0.9596 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3041/1.492, allocations: 47.51 MB / 1.006 GB, free: 218.7 MB / 0.67 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.2333/1.725, allocations: 225.5 MB / 1.226 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2811/2.007, allocations: 27.88 MB / 1.253 GB, free: 209.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01808/2.025, allocations: 16.88 MB / 1.27 GB, free: 202 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/2.026, allocations: 1.3 MB / 1.271 GB, free: 201 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05117/2.077, allocations: 20.5 MB / 1.291 GB, free: 196.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 1.796e-05/2.077, allocations: 0 / 1.291 GB, free: 196.1 MB / 0.67 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed