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.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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08404/0.08404, allocations: 12.01 MB / 27.64 MB, free: 1.895 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.001028/0.001028, allocations: 111 kB / 31.36 MB, free: 5.004 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.001325/0.001325, allocations: 192.5 kB / 35.19 MB, free: 1.184 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.466/1.466, allocations: 222.9 MB / 261.7 MB, free: 7.301 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06227/0.06227, allocations: 13.68 MB / 328.5 MB, free: 484 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.03341/0.03341, allocations: 19.69 MB / 472.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.45, allocations: 55.39 MB / 0.5154 GB, free: 20.2 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.06235/0.5124, allocations: 61.08 MB / 0.5751 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04804/0.5604, allocations: 16.43 MB / 0.5911 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0235/0.584, allocations: 0.4946 MB / 0.5916 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05575/0.6398, allocations: 31.13 MB / 0.622 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02705/0.6669, allocations: 8.117 MB / 0.6299 GB, free: 308 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.6798, allocations: 5.418 MB / 0.6352 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04334/0.7232, allocations: 26.95 MB / 0.6615 GB, free: 24 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07564/0.7988, allocations: 43.99 MB / 0.7045 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02539/0.8243, allocations: 12.98 MB / 0.7172 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3661/1.19, allocations: 16.16 MB / 0.733 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01945/1.21, allocations: 4.077 MB / 0.7369 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02286/1.233, allocations: 5.401 MB / 0.7422 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02434/1.257, allocations: 15.16 MB / 0.757 GB, free: 54.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0447/1.302, allocations: 17.29 MB / 0.7739 GB, free: 49.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06789/1.37, allocations: 58.92 MB / 0.8314 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.37, allocations: 0 / 0.8314 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/1.37, allocations: 0 / 0.8314 GB, free: 13.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.00223/1.372, allocations: 2.531 kB / 0.8314 GB, free: 13.67 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.1167/1.489, allocations: 34.79 MB / 0.8654 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.489, allocations: 8.031 kB / 0.8654 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03221/1.521, allocations: 5.953 MB / 0.8712 GB, free: 7.699 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04799/1.569, allocations: 21.27 MB / 0.892 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001989/1.571, allocations: 1.801 MB / 0.8938 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0109/1.582, allocations: 2.461 MB / 0.8962 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1449/1.727, allocations: 57.23 MB / 0.9521 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001881/1.729, allocations: 237.5 kB / 0.9523 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01138/1.74, allocations: 1.054 MB / 0.9533 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0116/1.752, allocations: 6.493 MB / 0.9597 GB, free: 12.97 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3972/2.149, allocations: 47.52 MB / 1.006 GB, free: 218.5 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.2877/2.437, allocations: 225.5 MB / 1.226 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3749/2.812, allocations: 27.86 MB / 1.254 GB, free: 209.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02133/2.833, allocations: 16.89 MB / 1.27 GB, free: 201.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/2.835, allocations: 1.301 MB / 1.271 GB, free: 201 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0616/2.897, allocations: 20.51 MB / 1.291 GB, free: 196.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 3.097e-05/2.897, 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