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-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.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-master/package.mo): time 0.06046/0.06046, allocations: 12.03 MB / 28.34 MB, free: 1.766 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.001497/0.001497, allocations: 96.05 kB / 32.06 MB, free: 4.621 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.001653/0.001653, allocations: 196.5 kB / 35.9 MB, free: 0.7969 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.501/1.501, allocations: 222.9 MB / 262.5 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.06362/0.06362, allocations: 13.69 MB / 329.2 MB, free: 448 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.03285/0.03285, allocations: 19.65 MB / 473.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.4206, allocations: 55.39 MB / 0.5161 GB, free: 20.79 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.06386/0.4845, allocations: 61.1 MB / 0.5758 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04691/0.5314, allocations: 16.42 MB / 0.5918 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0207/0.5522, allocations: 0.4946 MB / 0.5923 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05632/0.6085, allocations: 31.12 MB / 0.6227 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02708/0.6357, allocations: 8.116 MB / 0.6306 GB, free: 424 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0131/0.6488, allocations: 5.419 MB / 0.6359 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04278/0.6916, allocations: 26.96 MB / 0.6622 GB, free: 132 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07576/0.7674, allocations: 43.92 MB / 0.7051 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02653/0.794, allocations: 12.97 MB / 0.7178 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4001/1.194, allocations: 16.16 MB / 0.7336 GB, free: 54.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01884/1.213, allocations: 4.075 MB / 0.7376 GB, free: 54.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02083/1.234, allocations: 5.409 MB / 0.7428 GB, free: 54.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02532/1.259, allocations: 15.15 MB / 0.7576 GB, free: 54.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04201/1.301, allocations: 17.3 MB / 0.7745 GB, free: 49.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06716/1.368, allocations: 58.76 MB / 0.8319 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/1.369, allocations: 5.5 kB / 0.8319 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.866e-06/1.369, allocations: 0 / 0.8319 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002769/1.371, allocations: 0 / 0.8319 GB, free: 14.07 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.1162/1.488, allocations: 34.05 MB / 0.8652 GB, free: 15 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/1.488, allocations: 12.03 kB / 0.8652 GB, free: 14.99 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03514/1.523, allocations: 5.791 MB / 0.8708 GB, free: 9.168 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.053/1.576, allocations: 21.19 MB / 0.8915 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002079/1.578, allocations: 1.794 MB / 0.8933 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01275/1.591, allocations: 2.457 MB / 0.8957 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1535/1.744, allocations: 57.25 MB / 0.9516 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001871/1.746, allocations: 229.4 kB / 0.9518 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01225/1.758, allocations: 1.054 MB / 0.9528 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01202/1.77, allocations: 6.496 MB / 0.9592 GB, free: 14.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4872/2.258, allocations: 47.51 MB / 1.006 GB, free: 219.1 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.3216/2.579, allocations: 225.1 MB / 1.225 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5005/3.08, allocations: 27.86 MB / 1.253 GB, free: 210.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02666/3.107, allocations: 16.89 MB / 1.269 GB, free: 202.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002184/3.109, allocations: 1.291 MB / 1.27 GB, free: 202 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05981/3.169, allocations: 20.52 MB / 1.29 GB, free: 197.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 3.638e-05/3.169, allocations: 0 / 1.29 GB, free: 197.1 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