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.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0895/0.0895, allocations: 12.18 MB / 28.53 MB, free: 1.395 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 107.9 kB / 34.41 MB, free: 2.324 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 198.1 kB / 40.38 MB, free: 4.449 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 225.6 MB / 271.8 MB, free: 4.723 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.09072/0.09072, allocations: 13.88 MB / 343.6 MB, free: 0.7891 MB / 254.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.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.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: 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.02679/0.02679, allocations: 20.57 MB / 496 MB, free: 25.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1404, allocations: 58.44 MB / 0.5415 GB, free: 14.72 MB / 398.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 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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0725/0.2129, allocations: 60.97 MB / 0.601 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6049/0.8178, allocations: 17.47 MB / 0.6181 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01811/0.8359, allocations: 0.4931 MB / 0.6186 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05445/0.8904, allocations: 31.48 MB / 0.6493 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02482/0.9152, allocations: 8.322 MB / 0.6574 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01679/0.932, allocations: 5.891 MB / 0.6632 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.05189/0.9839, allocations: 28.37 MB / 0.6909 GB, free: 232 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07302/1.057, allocations: 36.86 MB / 0.7269 GB, free: 12.31 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02967/1.087, allocations: 13.77 MB / 0.7403 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03543/1.122, allocations: 17.55 MB / 0.7575 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01586/1.138, allocations: 4.887 MB / 0.7623 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01902/1.157, allocations: 6.27 MB / 0.7684 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03079/1.188, allocations: 16.23 MB / 0.7842 GB, free: 3.133 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.04807/1.236, allocations: 18.84 MB / 0.8026 GB, free: 268 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4992/1.735, allocations: 67.51 MB / 0.8686 GB, free: 97.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.735, allocations: 0 / 0.8686 GB, free: 97.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/1.735, allocations: 0 / 0.8686 GB, free: 97.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.002519/1.737, allocations: 1.203 kB / 0.8686 GB, free: 97.68 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: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.137/1.874, allocations: 35.51 MB / 0.9032 GB, free: 79.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/1.874, allocations: 11.88 kB / 0.9033 GB, free: 79.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0247/1.899, allocations: 3.97 MB / 0.9071 GB, free: 77.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04931/1.948, allocations: 7.99 MB / 0.9149 GB, free: 73.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06592/2.014, allocations: 28.85 MB / 0.9431 GB, free: 54.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001807/2.016, allocations: 1.801 MB / 0.9449 GB, free: 53.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01876/2.035, allocations: 2.456 MB / 0.9473 GB, free: 51.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1631/2.198, allocations: 60.49 MB / 1.006 GB, free: 5.012 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001948/2.2, allocations: 236.3 kB / 1.007 GB, free: 4.848 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01533/2.215, allocations: 1.048 MB / 1.008 GB, free: 3.887 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.015/2.23, allocations: 6.898 MB / 1.014 GB, free: 13.08 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1488/2.379, allocations: 50.83 MB / 1.064 GB, free: 10.88 MB / 0.6857 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.8204/3.2, allocations: 246.6 MB / 1.305 GB, free: 64.5 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06876/3.268, allocations: 28.42 MB / 1.333 GB, free: 35.96 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02271/3.291, allocations: 17.27 MB / 1.349 GB, free: 18.66 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002247/3.293, allocations: 1.299 MB / 1.351 GB, free: 17.25 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4733/3.767, allocations: 21.31 MB / 1.371 GB, free: 237.2 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=892): time 6.367e-05/3.767, allocations: 0 / 1.371 GB, free: 237.2 MB / 0.7013 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.3280384400859475] Failed to read output from testmodel.py, exit status != 0: 4.320827930700034 4.332095611 2.594467193 Calling exit ...