Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.07619/0.07619, allocations: 12.18 MB / 31.01 MB, free: 1.305 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 105.9 kB / 37.23 MB, free: 3.043 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 204.3 kB / 43.58 MB, free: 5.434 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 280.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1156/0.1156, allocations: 13.89 MB / 353.7 MB, free: 4.121 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0465/0.0465, allocations: 20.76 MB / 0.4985 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.4424, allocations: 59.68 MB / 0.5568 GB, free: 432 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.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.Examples.DroneWithIdealPower.TestSystem): time 0.07352/0.5159, allocations: 59.42 MB / 0.6148 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0457/0.5616, allocations: 17.16 MB / 0.6315 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01796/0.5796, allocations: 0.5714 MB / 0.6321 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06118/0.6408, allocations: 31.46 MB / 0.6628 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02659/0.6674, allocations: 8.188 MB / 0.6708 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01578/0.6832, allocations: 5.935 MB / 0.6766 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.05083/0.734, allocations: 28.96 MB / 0.7049 GB, free: 8.621 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4626/1.197, allocations: 32.48 MB / 0.7366 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03011/1.227, allocations: 13.84 MB / 0.7501 GB, free: 13.51 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.033/1.26, allocations: 17.49 MB / 0.7672 GB, free: 11.74 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01503/1.275, allocations: 4.868 MB / 0.772 GB, free: 11.74 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02288/1.298, allocations: 6.247 MB / 0.7781 GB, free: 11.51 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02799/1.326, allocations: 16.12 MB / 0.7938 GB, free: 0.8984 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.05243/1.378, allocations: 18.88 MB / 0.8123 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.105/1.483, allocations: 66.87 MB / 0.8776 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/1.483, allocations: 0 / 0.8776 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.627e-06/1.483, allocations: 0 / 0.8776 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.003544/1.487, allocations: 0 / 0.8776 GB, free: 13.18 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.1439/1.63, allocations: 35.74 MB / 0.9125 GB, free: 9.613 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/1.631, allocations: 8.625 kB / 0.9125 GB, free: 9.605 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02045/1.651, allocations: 3.923 MB / 0.9163 GB, free: 5.75 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0476/1.699, allocations: 7.876 MB / 0.924 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.066/1.765, allocations: 27.39 MB / 0.9507 GB, free: 3.527 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002742/1.767, allocations: 1.783 MB / 0.9525 GB, free: 1.824 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.6645/2.432, allocations: 2.434 MB / 0.9549 GB, free: 226.1 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1681/2.6, allocations: 59.59 MB / 1.013 GB, free: 188.1 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002129/2.602, allocations: 236.5 kB / 1.013 GB, free: 188 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01358/2.616, allocations: 1.048 MB / 1.014 GB, free: 187 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01026/2.626, allocations: 6.594 MB / 1.021 GB, free: 180.4 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1056/2.732, allocations: 50.06 MB / 1.07 GB, free: 130.4 MB / 0.6702 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.8008/3.532, allocations: 244.2 MB / 1.308 GB, free: 106.6 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07005/3.602, allocations: 28.04 MB / 1.336 GB, free: 98.8 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02498/3.627, allocations: 17.37 MB / 1.352 GB, free: 88.94 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/3.63, allocations: 0.6314 MB / 1.353 GB, free: 88.74 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06274/3.692, allocations: 21.38 MB / 1.374 GB, free: 75.45 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=892): time 3.095e-05/3.692, allocations: 0 / 1.374 GB, free: 75.45 MB / 0.6858 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 7.477605063999363] Failed to read output from testmodel.py, exit status != 0: 4.668807737994939 4.682519774 3.196242318 Calling exit ...