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-master/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-master/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-master/package.mo): time 0.06001/0.06001, allocations: 12.05 MB / 28.31 MB, free: 1.789 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.001004/0.001004, allocations: 115.7 kB / 32.04 MB, free: 4.633 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.001242/0.001242, allocations: 196.5 kB / 35.87 MB, free: 0.8164 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.448/1.448, allocations: 222.9 MB / 262.4 MB, free: 7.465 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06036/0.06036, allocations: 13.66 MB / 329.1 MB, free: 0.5117 MB / 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.02633/0.02633, allocations: 19.38 MB / 416.9 MB, free: 24.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1371, allocations: 55.41 MB / 472.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.299/0.4362, allocations: 61.05 MB / 0.5209 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03714/0.4734, allocations: 16.42 MB / 0.5369 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01634/0.4898, allocations: 0.4978 MB / 0.5374 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04776/0.5375, allocations: 31.12 MB / 0.5678 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02397/0.5616, allocations: 7.878 MB / 0.5755 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.575, allocations: 5.416 MB / 0.5808 GB, free: 8.559 MB / 398.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04189/0.617, allocations: 26.92 MB / 0.6071 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07174/0.6887, allocations: 44 MB / 0.65 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02448/0.7133, allocations: 13.01 MB / 0.6628 GB, free: 9.789 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02668/0.74, allocations: 16.12 MB / 0.6785 GB, free: 9.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01472/0.7547, allocations: 4.074 MB / 0.6825 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01919/0.774, allocations: 5.392 MB / 0.6877 GB, free: 436 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02568/0.7997, allocations: 14.91 MB / 0.7023 GB, free: 1.484 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.3231/1.123, allocations: 17.29 MB / 0.7192 GB, free: 61.14 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.07746/1.2, allocations: 58.75 MB / 0.7766 GB, free: 43.13 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.2, allocations: 1.375 kB / 0.7766 GB, free: 43.13 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.524e-06/1.2, allocations: 0 / 0.7766 GB, free: 43.13 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002217/1.203, allocations: 0 / 0.7766 GB, free: 43.13 MB / 0.4982 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.1079/1.311, allocations: 34.03 MB / 0.8098 GB, free: 20.66 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.311, allocations: 10.45 kB / 0.8098 GB, free: 20.65 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/1.339, allocations: 5.79 MB / 0.8155 GB, free: 17.74 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0426/1.382, allocations: 21.19 MB / 0.8362 GB, free: 0.6484 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001866/1.384, allocations: 1.801 MB / 0.8379 GB, free: 14.93 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01462/1.399, allocations: 2.453 MB / 0.8403 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1462/1.545, allocations: 57.24 MB / 0.8962 GB, free: 1.754 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00184/1.547, allocations: 234.1 kB / 0.8964 GB, free: 1.594 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01123/1.558, allocations: 1.056 MB / 0.8975 GB, free: 0.625 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0111/1.569, allocations: 6.489 MB / 0.9038 GB, free: 10.22 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3404/1.909, allocations: 47.51 MB / 0.9502 GB, free: 169.9 MB / 0.5763 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.5975/2.507, allocations: 225.1 MB / 1.17 GB, free: 68.38 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06341/2.57, allocations: 27.87 MB / 1.197 GB, free: 67.28 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02083/2.591, allocations: 16.88 MB / 1.214 GB, free: 67.18 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/2.593, allocations: 1.302 MB / 1.215 GB, free: 66.31 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0564/2.65, allocations: 20.52 MB / 1.235 GB, free: 65.99 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=901): time 1.94e-05/2.65, allocations: 0 / 1.235 GB, free: 65.99 MB / 0.5763 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed