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.06275/0.06275, allocations: 12.03 MB / 27.66 MB, free: 1.832 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.0009131/0.0009132, allocations: 92.06 kB / 31.37 MB, free: 4.953 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.0009887/0.0009887, allocations: 192.5 kB / 35.21 MB, free: 1.133 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.268/1.268, allocations: 222.9 MB / 261.8 MB, free: 7.371 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05683/0.05683, allocations: 13.67 MB / 328.5 MB, free: 500 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.02416/0.02416, allocations: 19.65 MB / 471.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2788, allocations: 55.38 MB / 0.5149 GB, free: 19.88 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.0493/0.3282, allocations: 61.1 MB / 0.5746 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03417/0.3624, allocations: 16.42 MB / 0.5907 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01232/0.3747, allocations: 0.4946 MB / 0.5911 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04859/0.4233, allocations: 31.12 MB / 0.6215 GB, free: 8.426 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02069/0.4441, allocations: 8.129 MB / 0.6295 GB, free: 332 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.4548, allocations: 5.41 MB / 0.6347 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03325/0.488, allocations: 26.96 MB / 0.6611 GB, free: 48 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05487/0.5429, allocations: 43.99 MB / 0.704 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01938/0.5623, allocations: 12.97 MB / 0.7167 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2393/0.8017, allocations: 16.17 MB / 0.7325 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01108/0.8128, allocations: 4.075 MB / 0.7365 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.8263, allocations: 5.406 MB / 0.7417 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01569/0.842, allocations: 15.15 MB / 0.7565 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02234/0.8643, allocations: 17.38 MB / 0.7735 GB, free: 49.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04204/0.9064, allocations: 59.02 MB / 0.8312 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9064, allocations: 3.062 kB / 0.8312 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9064, allocations: 0 / 0.8312 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001301/0.9078, allocations: 2.531 kB / 0.8312 GB, free: 13.7 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.07706/0.9848, allocations: 34.29 MB / 0.8646 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9849, allocations: 12.03 kB / 0.8647 GB, free: 14.15 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01142/0.9963, allocations: 3.979 MB / 0.8685 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.037/1.033, allocations: 7.734 MB / 0.8761 GB, free: 2.527 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04295/1.076, allocations: 25.52 MB / 0.901 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001528/1.078, allocations: 1.8 MB / 0.9028 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008209/1.086, allocations: 2.456 MB / 0.9052 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1091/1.195, allocations: 57.17 MB / 0.961 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001201/1.196, allocations: 235.6 kB / 0.9612 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006614/1.203, allocations: 1.047 MB / 0.9622 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009526/1.213, allocations: 6.49 MB / 0.9686 GB, free: 3.789 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2883/1.501, allocations: 47.37 MB / 1.015 GB, free: 219.3 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.222/1.723, allocations: 224.7 MB / 1.234 GB, free: 4.828 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2692/1.992, allocations: 27.78 MB / 1.261 GB, free: 209.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01631/2.008, allocations: 16.82 MB / 1.278 GB, free: 201.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/2.01, allocations: 1.3 MB / 1.279 GB, free: 200.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0507/2.06, allocations: 20.44 MB / 1.299 GB, free: 195.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 1.216e-05/2.06, allocations: 2.562 kB / 1.299 GB, free: 195.5 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