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.06539/0.06539, allocations: 12.05 MB / 28.35 MB, free: 1.715 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.001031/0.001032, allocations: 111.9 kB / 32.08 MB, free: 4.559 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.001335/0.001335, allocations: 184.5 kB / 35.91 MB, free: 0.7461 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.406/1.406, allocations: 222.9 MB / 262.5 MB, free: 7.395 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05964/0.05964, allocations: 13.67 MB / 329.2 MB, free: 476 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.02937/0.02937, allocations: 19.76 MB / 473.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3371, allocations: 55.39 MB / 0.5162 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.05881/0.3959, allocations: 61.09 MB / 0.5759 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04035/0.4363, allocations: 16.43 MB / 0.5919 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01947/0.4558, allocations: 0.4985 MB / 0.5924 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05549/0.5113, allocations: 31.12 MB / 0.6228 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02259/0.534, allocations: 8.113 MB / 0.6307 GB, free: 196 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01197/0.5459, allocations: 5.422 MB / 0.636 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03832/0.5843, allocations: 26.95 MB / 0.6624 GB, free: 15.91 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06907/0.6534, allocations: 43.99 MB / 0.7053 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02134/0.6748, allocations: 12.97 MB / 0.718 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3163/0.9911, allocations: 16.16 MB / 0.7338 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01588/1.007, allocations: 4.075 MB / 0.7377 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01885/1.026, allocations: 5.41 MB / 0.743 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02219/1.048, allocations: 15.15 MB / 0.7578 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03499/1.083, allocations: 17.3 MB / 0.7747 GB, free: 49.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06802/1.151, allocations: 58.91 MB / 0.8322 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.151, allocations: 4 kB / 0.8322 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/1.151, allocations: 0 / 0.8322 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002056/1.153, allocations: 2.594 kB / 0.8323 GB, free: 13.32 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.0926/1.246, allocations: 34.79 MB / 0.8662 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/1.246, allocations: 8.031 kB / 0.8662 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02853/1.275, allocations: 5.95 MB / 0.872 GB, free: 7.508 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04239/1.317, allocations: 21.28 MB / 0.8928 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001673/1.319, allocations: 1.797 MB / 0.8946 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01068/1.329, allocations: 2.459 MB / 0.897 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1382/1.468, allocations: 57.23 MB / 0.9529 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001847/1.47, allocations: 237.1 kB / 0.9531 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01045/1.48, allocations: 1.055 MB / 0.9541 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01134/1.491, allocations: 6.496 MB / 0.9605 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.395/1.886, allocations: 47.52 MB / 1.007 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.2698/2.156, allocations: 225.5 MB / 1.227 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3477/2.504, allocations: 27.86 MB / 1.254 GB, free: 209.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02218/2.526, allocations: 16.89 MB / 1.271 GB, free: 202.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/2.528, allocations: 1.294 MB / 1.272 GB, free: 201.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05767/2.586, allocations: 20.52 MB / 1.292 GB, free: 196.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.471e-05/2.586, allocations: 2.062 kB / 1.292 GB, free: 196.3 MB / 0.67 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