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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.08586/0.08586, allocations: 12.03 MB / 27.67 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.001442/0.001442, allocations: 107 kB / 31.38 MB, free: 4.977 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.001647/0.001647, allocations: 192.5 kB / 35.22 MB, free: 1.156 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.574/1.574, allocations: 222.9 MB / 261.8 MB, free: 7.441 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06567/0.06567, 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.03583/0.03583, allocations: 20.12 MB / 472.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.4145, allocations: 55.39 MB / 0.5154 GB, free: 20.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.06408/0.4786, allocations: 61.07 MB / 0.5751 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04845/0.5271, allocations: 16.42 MB / 0.5911 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02038/0.5475, allocations: 0.4946 MB / 0.5916 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05851/0.6061, allocations: 31.12 MB / 0.622 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02751/0.6337, allocations: 7.867 MB / 0.6297 GB, free: 500 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01459/0.6483, allocations: 5.412 MB / 0.6349 GB, free: 11.09 MB / 478.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.04557/0.6939, allocations: 26.95 MB / 0.6613 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08075/0.7747, allocations: 43.99 MB / 0.7042 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02769/0.8024, allocations: 13.01 MB / 0.7169 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4149/1.217, allocations: 16.11 MB / 0.7327 GB, free: 54.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01778/1.235, allocations: 4.074 MB / 0.7366 GB, free: 54.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02071/1.256, allocations: 5.4 MB / 0.7419 GB, free: 54.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02391/1.28, allocations: 14.91 MB / 0.7565 GB, free: 54.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03969/1.32, allocations: 17.38 MB / 0.7734 GB, free: 49.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07817/1.398, allocations: 59.18 MB / 0.8312 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.398, allocations: 0 / 0.8312 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/1.398, allocations: 0 / 0.8312 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002298/1.4, allocations: 3.156 kB / 0.8312 GB, free: 13.4 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.1151/1.515, allocations: 35.03 MB / 0.8654 GB, free: 13.42 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.515, allocations: 8.031 kB / 0.8655 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01878/1.534, allocations: 3.977 MB / 0.8693 GB, free: 9.504 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04742/1.582, allocations: 7.884 MB / 0.877 GB, free: 1.652 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.057/1.639, allocations: 25.61 MB / 0.902 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002135/1.641, allocations: 1.794 MB / 0.9038 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01193/1.653, allocations: 2.462 MB / 0.9062 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1489/1.802, allocations: 57.17 MB / 0.962 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001379/1.803, allocations: 236.4 kB / 0.9623 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00907/1.812, allocations: 1.046 MB / 0.9633 GB, free: 9.258 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01202/1.824, allocations: 6.498 MB / 0.9696 GB, free: 2.828 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4195/2.244, allocations: 47.37 MB / 1.016 GB, free: 218.9 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.2882/2.532, allocations: 225.1 MB / 1.236 GB, free: 3.336 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3382/2.87, allocations: 27.78 MB / 1.263 GB, free: 207.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01909/2.889, allocations: 16.82 MB / 1.279 GB, free: 199.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/2.891, allocations: 1.295 MB / 1.281 GB, free: 198.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06215/2.953, allocations: 20.45 MB / 1.301 GB, free: 194 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 3.498e-05/2.954, allocations: 0 / 1.301 GB, free: 194 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