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.06879/0.06879, allocations: 12.18 MB / 31.01 MB, free: 1.281 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.001222/0.001222, allocations: 106 kB / 37.23 MB, free: 3.047 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.001473/0.001473, allocations: 204.4 kB / 43.59 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.428/1.428, allocations: 230.6 MB / 280.3 MB, free: 8.043 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.06538/0.06538, allocations: 13.89 MB / 353.7 MB, free: 4.09 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.03402/0.03402, allocations: 20.76 MB / 0.4985 GB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2695, allocations: 59.67 MB / 0.5568 GB, free: 380 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.06671/0.3362, allocations: 63.6 MB / 0.6189 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02802/0.3642, allocations: 14.06 MB / 0.6326 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007696/0.3719, allocations: 0.4974 MB / 0.6331 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04214/0.414, allocations: 24.14 MB / 0.6567 GB, free: 9.867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01771/0.4317, allocations: 7.574 MB / 0.6641 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009673/0.4414, allocations: 4.798 MB / 0.6688 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0348/0.4762, allocations: 25.69 MB / 0.6939 GB, free: 3.902 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2634/0.7396, allocations: 24.62 MB / 0.7179 GB, free: 16.91 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01459/0.7542, allocations: 11.07 MB / 0.7287 GB, free: 16.63 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0177/0.7719, allocations: 14.88 MB / 0.7432 GB, free: 15.44 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.006334/0.7783, allocations: 3.065 MB / 0.7462 GB, free: 15.44 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007855/0.7861, allocations: 4.405 MB / 0.7505 GB, free: 15.44 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01138/0.7975, allocations: 13.28 MB / 0.7635 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.01655/0.814, allocations: 14.66 MB / 0.7778 GB, free: 5.117 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.05409/0.8681, allocations: 47.83 MB / 0.8245 GB, free: 14.52 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8681, allocations: 2.469 kB / 0.8245 GB, free: 14.52 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8681, allocations: 0 / 0.8245 GB, free: 14.52 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001298/0.8694, allocations: 0 / 0.8245 GB, free: 14.52 MB / 0.5607 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.07576/0.9452, allocations: 30.71 MB / 0.8545 GB, free: 56 kB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.9452, allocations: 12.62 kB / 0.8545 GB, free: 44 kB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01217/0.9574, allocations: 4.065 MB / 0.8585 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03968/0.9971, allocations: 7.531 MB / 0.8659 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04223/1.039, allocations: 20.44 MB / 0.8858 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001672/1.041, allocations: 1.528 MB / 0.8873 GB, free: 15.65 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007442/1.048, allocations: 2.094 MB / 0.8894 GB, free: 13.66 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1119/1.16, allocations: 52.06 MB / 0.9402 GB, free: 7.688 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001085/1.161, allocations: 248.5 kB / 0.9404 GB, free: 7.523 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006228/1.168, allocations: 0.909 MB / 0.9413 GB, free: 6.719 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01187/1.179, allocations: 6.923 MB / 0.9481 GB, free: 15.88 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4803/1.66, allocations: 41.28 MB / 0.9884 GB, free: 235.5 MB / 0.6858 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.2047/1.864, allocations: 214 MB / 1.197 GB, free: 34.15 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0518/1.916, allocations: 23.41 MB / 1.22 GB, free: 10.68 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2399/2.156, allocations: 14.81 MB / 1.235 GB, free: 230.3 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/2.158, allocations: 0.7948 MB / 1.236 GB, free: 230.3 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04671/2.205, allocations: 18.89 MB / 1.254 GB, free: 226.8 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=751): time 9.648e-06/2.205, allocations: 0 / 1.254 GB, free: 226.8 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: 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.993790003005415] Failed to read output from testmodel.py, exit status != 0: 2.624228924047202 2.633154728 1.76272891 Calling exit ...