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.06225/0.06225, allocations: 12.05 MB / 28.36 MB, free: 1.719 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.001059/0.001059, allocations: 107.9 kB / 32.08 MB, free: 4.57 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.001247/0.001247, allocations: 196.3 kB / 35.92 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.354/1.354, allocations: 222.9 MB / 262.5 MB, free: 7.422 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05691/0.05691, allocations: 13.68 MB / 329.2 MB, free: 464 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.02676/0.02676, allocations: 19.73 MB / 473.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.3132, allocations: 55.39 MB / 0.5162 GB, free: 20.23 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.05219/0.3654, allocations: 61.08 MB / 0.5759 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03492/0.4004, allocations: 16.42 MB / 0.5919 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01396/0.4143, allocations: 0.4985 MB / 0.5924 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04917/0.4636, allocations: 31.13 MB / 0.6228 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02167/0.4853, allocations: 8.112 MB / 0.6307 GB, free: 224 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.4958, allocations: 5.422 MB / 0.636 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0382/0.5341, allocations: 26.96 MB / 0.6623 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06069/0.5948, allocations: 43.92 MB / 0.7052 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02354/0.6184, allocations: 12.97 MB / 0.7179 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3024/0.9208, allocations: 16.16 MB / 0.7337 GB, free: 54.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01787/0.9388, allocations: 4.075 MB / 0.7377 GB, free: 54.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01795/0.9567, allocations: 5.409 MB / 0.7429 GB, free: 54.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0196/0.9764, allocations: 15.15 MB / 0.7577 GB, free: 54.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02997/1.006, allocations: 17.3 MB / 0.7746 GB, free: 49.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05696/1.063, allocations: 58.91 MB / 0.8322 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.063, allocations: 2.562 kB / 0.8322 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/1.063, allocations: 3.188 kB / 0.8322 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001948/1.065, allocations: 0 / 0.8322 GB, free: 13.38 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.08593/1.151, allocations: 34.79 MB / 0.8661 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.151, allocations: 8.031 kB / 0.8661 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02847/1.18, allocations: 5.957 MB / 0.872 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04205/1.222, allocations: 21.27 MB / 0.8927 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001561/1.224, allocations: 1.794 MB / 0.8945 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009964/1.233, allocations: 2.458 MB / 0.8969 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1266/1.36, allocations: 57.24 MB / 0.9528 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001423/1.362, allocations: 233.9 kB / 0.953 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009/1.371, allocations: 1.046 MB / 0.954 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01065/1.381, allocations: 6.496 MB / 0.9604 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3584/1.74, 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.2598/2, allocations: 225.5 MB / 1.227 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3459/2.346, allocations: 27.88 MB / 1.254 GB, free: 209.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02028/2.366, allocations: 16.88 MB / 1.271 GB, free: 202 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/2.367, allocations: 1.299 MB / 1.272 GB, free: 201.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05528/2.423, allocations: 20.51 MB / 1.292 GB, free: 196.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.683e-05/2.423, allocations: 0 / 1.292 GB, free: 196.2 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 Error: Internal error SimCode DAEmode: The model DroneLibrary.Tests.controlModuleTest could not be translated