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.06287/0.06287, allocations: 12.03 MB / 27.67 MB, free: 1.891 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.0009412/0.0009412, allocations: 104 kB / 31.38 MB, free: 4.988 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.001251/0.001251, allocations: 188.5 kB / 35.21 MB, free: 1.176 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.245/1.245, allocations: 222.9 MB / 261.8 MB, free: 7.406 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05634/0.05634, allocations: 13.68 MB / 328.5 MB, free: 488 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.02601/0.02601, allocations: 19.65 MB / 471.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2821, allocations: 55.39 MB / 0.515 GB, free: 19.83 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.05129/0.3334, allocations: 61.1 MB / 0.5746 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03477/0.3682, allocations: 16.42 MB / 0.5907 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01232/0.3806, allocations: 0.4946 MB / 0.5911 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04865/0.4292, allocations: 31.13 MB / 0.6215 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01848/0.4478, allocations: 8.119 MB / 0.6295 GB, free: 352 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01021/0.458, allocations: 5.422 MB / 0.6348 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03131/0.4893, allocations: 26.95 MB / 0.6611 GB, free: 68 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04996/0.5393, allocations: 43.99 MB / 0.704 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01778/0.5571, allocations: 12.97 MB / 0.7167 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2372/0.7944, allocations: 16.17 MB / 0.7325 GB, free: 54.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01134/0.8058, allocations: 4.074 MB / 0.7365 GB, free: 54.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/0.8194, allocations: 5.402 MB / 0.7418 GB, free: 54.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01707/0.8365, allocations: 15.15 MB / 0.7566 GB, free: 54.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02517/0.8617, allocations: 17.39 MB / 0.7735 GB, free: 49.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0495/0.9113, allocations: 59.17 MB / 0.8313 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9113, allocations: 3.375 kB / 0.8313 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9113, allocations: 0 / 0.8313 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001543/0.9129, allocations: 2.469 kB / 0.8313 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.0815/0.9944, allocations: 35.05 MB / 0.8655 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9944, allocations: 8.031 kB / 0.8656 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01201/1.006, allocations: 3.977 MB / 0.8694 GB, free: 9.191 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04053/1.047, allocations: 7.884 MB / 0.8771 GB, free: 1.336 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04803/1.095, allocations: 25.61 MB / 0.9021 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/1.096, allocations: 1.802 MB / 0.9039 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0087/1.105, allocations: 2.458 MB / 0.9063 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1119/1.217, allocations: 57.16 MB / 0.9621 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009611/1.218, allocations: 239.4 kB / 0.9624 GB, free: 9.887 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006019/1.224, allocations: 1.06 MB / 0.9634 GB, free: 8.914 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00964/1.234, allocations: 6.487 MB / 0.9697 GB, free: 2.492 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2949/1.529, allocations: 47.37 MB / 1.016 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.2295/1.758, allocations: 225.1 MB / 1.236 GB, free: 2.688 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2665/2.025, allocations: 27.79 MB / 1.263 GB, free: 207.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01699/2.042, allocations: 16.82 MB / 1.279 GB, free: 199.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/2.043, allocations: 1.296 MB / 1.281 GB, free: 198.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05517/2.098, allocations: 20.44 MB / 1.301 GB, free: 194 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 1.699e-05/2.098, allocations: 4.172 kB / 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