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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",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.1007/0.1007, allocations: 12.03 MB / 27.67 MB, free: 1.875 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.001687/0.001687, allocations: 96.05 kB / 31.37 MB, free: 4.984 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.00193/0.00193, allocations: 196.5 kB / 35.21 MB, free: 1.16 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.602/1.602, allocations: 222.9 MB / 261.8 MB, free: 7.391 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06688/0.06688, allocations: 13.68 MB / 328.5 MB, free: 480 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.04018/0.04018, allocations: 20.02 MB / 472.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.4337, allocations: 55.4 MB / 0.5153 GB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.06583/0.4995, allocations: 61.07 MB / 0.575 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0531/0.5527, allocations: 16.42 MB / 0.591 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01957/0.5723, allocations: 0.4946 MB / 0.5915 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05951/0.6318, allocations: 31.13 MB / 0.6219 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02606/0.658, allocations: 7.864 MB / 0.6296 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01404/0.6721, allocations: 5.414 MB / 0.6349 GB, free: 11.14 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 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. [/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. Notification: Performance of NFFlatten.flatten: time 0.04883/0.7209, allocations: 26.94 MB / 0.6612 GB, free: 276 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07521/0.7962, allocations: 43.94 MB / 0.7041 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02875/0.825, allocations: 13 MB / 0.7168 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4245/1.25, allocations: 16.12 MB / 0.7325 GB, free: 54.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01752/1.267, allocations: 4.071 MB / 0.7365 GB, free: 54.67 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02358/1.291, allocations: 5.397 MB / 0.7418 GB, free: 54.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0264/1.317, allocations: 14.91 MB / 0.7563 GB, free: 54.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04873/1.366, allocations: 17.38 MB / 0.7733 GB, free: 49.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0713/1.437, allocations: 59.18 MB / 0.8311 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.437, allocations: 0 / 0.8311 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/1.437, allocations: 3.281 kB / 0.8311 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.00217/1.44, allocations: 0 / 0.8311 GB, free: 13.55 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.1252/1.565, allocations: 35.02 MB / 0.8653 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.565, allocations: 12.03 kB / 0.8653 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02051/1.585, allocations: 3.976 MB / 0.8692 GB, free: 9.574 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05024/1.636, allocations: 7.886 MB / 0.8769 GB, free: 1.719 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06118/1.697, allocations: 25.6 MB / 0.9019 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002268/1.699, allocations: 1.798 MB / 0.9036 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01508/1.714, allocations: 2.46 MB / 0.906 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1537/1.868, allocations: 57.17 MB / 0.9619 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001903/1.87, allocations: 232 kB / 0.9621 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01327/1.883, allocations: 1.055 MB / 0.9631 GB, free: 9.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01354/1.897, allocations: 6.494 MB / 0.9695 GB, free: 2.895 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.435/2.332, 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.3002/2.632, allocations: 225.1 MB / 1.236 GB, free: 3.301 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4131/3.045, allocations: 27.81 MB / 1.263 GB, free: 207.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0245/3.07, allocations: 16.81 MB / 1.279 GB, free: 199.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002994/3.073, allocations: 1.293 MB / 1.28 GB, free: 198.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07081/3.144, allocations: 20.44 MB / 1.3 GB, free: 194 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 5.226e-05/3.144, allocations: 0 / 1.3 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