Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.07962/0.07962, allocations: 12.18 MB / 31.02 MB, free: 1.598 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.00181/0.00181, allocations: 112.8 kB / 37.24 MB, free: 2.824 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.001603/0.001603, allocations: 212.3 kB / 43.58 MB, free: 5.223 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.528/1.528, allocations: 230.6 MB / 280.3 MB, free: 8.777 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.1008/0.1008, allocations: 13.89 MB / 353.7 MB, free: 3.91 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.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",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.07099/0.07099, allocations: 20.96 MB / 0.4986 GB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3852, allocations: 59.67 MB / 0.5569 GB, free: 148 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 propellerRev.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 propellerRev.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 propellerRev3.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 propellerRev3.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 propellerRev1.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 propellerRev1.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 propellerRev2.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 propellerRev2.bodyShape5.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.DroneForVR): time 0.06419/0.4494, allocations: 53.84 MB / 0.6095 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03193/0.4813, allocations: 13.76 MB / 0.6229 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01219/0.4935, allocations: 0.4935 MB / 0.6234 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04486/0.5384, allocations: 23.07 MB / 0.6459 GB, free: 4.809 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02247/0.5609, allocations: 7.598 MB / 0.6533 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.5745, allocations: 4.811 MB / 0.658 GB, free: 8.441 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04228/0.6168, allocations: 25.68 MB / 0.6831 GB, free: 14.82 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04769/0.6645, allocations: 24.46 MB / 0.707 GB, free: 6.18 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3555/1.02, allocations: 11.07 MB / 0.7178 GB, free: 27.65 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01977/1.04, allocations: 13.67 MB / 0.7312 GB, free: 27.65 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.00862/1.048, allocations: 3.066 MB / 0.7342 GB, free: 27.65 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/1.061, allocations: 4.242 MB / 0.7383 GB, free: 27.65 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01473/1.076, allocations: 13.28 MB / 0.7513 GB, free: 26.39 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0216/1.098, allocations: 11.13 MB / 0.7621 GB, free: 23.28 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.04954/1.147, allocations: 48.06 MB / 0.8091 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.147, allocations: 0 / 0.8091 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.004e-06/1.147, allocations: 0 / 0.8091 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001791/1.149, allocations: 0 / 0.8091 GB, free: 10.66 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.0932/1.242, allocations: 30.71 MB / 0.8391 GB, free: 12.2 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.242, allocations: 12.92 kB / 0.8391 GB, free: 12.19 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01613/1.258, allocations: 4.059 MB / 0.843 GB, free: 8.215 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04309/1.302, allocations: 7.532 MB / 0.8504 GB, free: 0.7148 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04718/1.349, allocations: 20.49 MB / 0.8704 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001713/1.35, allocations: 1.527 MB / 0.8719 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00917/1.36, allocations: 2.092 MB / 0.8739 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.13/1.49, allocations: 52.26 MB / 0.925 GB, free: 3.379 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001432/1.491, allocations: 249.9 kB / 0.9252 GB, free: 3.215 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00898/1.5, allocations: 0.9167 MB / 0.9261 GB, free: 2.402 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01353/1.514, allocations: 6.913 MB / 0.9328 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6472/2.161, allocations: 41.2 MB / 0.9731 GB, free: 223.7 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.2641/2.425, allocations: 197.7 MB / 1.166 GB, free: 46.88 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0563/2.481, allocations: 23.39 MB / 1.189 GB, free: 23.57 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01722/2.498, allocations: 14.8 MB / 1.203 GB, free: 8.762 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/2.501, allocations: 0.7614 MB / 1.204 GB, free: 8 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3809/2.881, allocations: 18.88 MB / 1.223 GB, free: 218 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=751): time 2.029e-05/2.881, allocations: 0 / 1.223 GB, free: 218 MB / 0.6702 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.bodyShape5.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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 6.0450414647348225] Failed to read output from testmodel.py, exit status != 0: 3.370454343035817 3.379506673 2.229791382 Calling exit ...