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) 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: translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06084/0.06084, allocations: 12.05 MB / 28.3 MB, free: 1.387 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.000996/0.0009961, allocations: 99.94 kB / 32.01 MB, free: 4.441 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.001203/0.001203, allocations: 184.5 kB / 35.84 MB, free: 0.6289 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.333/1.333, allocations: 222.9 MB / 262.4 MB, free: 10.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2452/0.2452, allocations: 13.66 MB / 329.1 MB, free: 2.613 MB / 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.02886/0.02886, allocations: 19.36 MB / 416.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4799, allocations: 55.39 MB / 472.3 MB, free: 53.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.04465/0.5246, allocations: 60.72 MB / 0.5205 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03451/0.5591, allocations: 17.46 MB / 0.5376 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01775/0.5769, allocations: 0.4935 MB / 0.5381 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05407/0.631, allocations: 31.19 MB / 0.5685 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02202/0.6531, allocations: 8.047 MB / 0.5764 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0134/0.6666, allocations: 5.889 MB / 0.5821 GB, free: 12.17 MB / 430.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.0383/0.7049, allocations: 28.4 MB / 0.6099 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3032/1.008, allocations: 47.28 MB / 0.656 GB, free: 26.85 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02097/1.029, allocations: 13.75 MB / 0.6695 GB, free: 26.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02726/1.056, allocations: 16.58 MB / 0.6857 GB, free: 25.22 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01985/1.076, allocations: 4.884 MB / 0.6904 GB, free: 25.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02077/1.097, allocations: 6.19 MB / 0.6965 GB, free: 25.22 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0255/1.123, allocations: 15.71 MB / 0.7118 GB, free: 20.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0384/1.161, allocations: 18.77 MB / 0.7302 GB, free: 5.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07524/1.236, allocations: 67.04 MB / 0.7956 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.236, allocations: 0 / 0.7956 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/1.236, allocations: 0 / 0.7956 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001924/1.238, allocations: 0 / 0.7956 GB, free: 6.32 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: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.1115/1.35, allocations: 34.49 MB / 0.8293 GB, free: 4.012 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/1.35, allocations: 10.72 kB / 0.8293 GB, free: 4.004 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03233/1.382, allocations: 5.849 MB / 0.835 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5296/1.912, allocations: 24.24 MB / 0.8587 GB, free: 175.8 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001457/1.913, allocations: 1.796 MB / 0.8605 GB, free: 175 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01063/1.924, allocations: 2.446 MB / 0.8628 GB, free: 174.3 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1405/2.065, allocations: 60.57 MB / 0.922 GB, free: 145.2 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002051/2.067, allocations: 230.9 kB / 0.9222 GB, free: 145 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01214/2.079, allocations: 1.053 MB / 0.9232 GB, free: 144.1 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01026/2.089, allocations: 6.895 MB / 0.93 GB, free: 138.3 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1019/2.191, allocations: 50.99 MB / 0.9798 GB, free: 89.46 MB / 0.5764 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.6048/2.796, allocations: 246.7 MB / 1.221 GB, free: 52.35 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06572/2.862, allocations: 29.25 MB / 1.249 GB, free: 41.75 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02233/2.884, allocations: 18.16 MB / 1.267 GB, free: 31.33 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002208/2.886, allocations: 1.296 MB / 1.268 GB, free: 30.28 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05875/2.945, allocations: 21.4 MB / 1.289 GB, free: 12.09 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=892): time 2.21e-05/2.945, allocations: 0 / 1.289 GB, free: 12.09 MB / 0.6077 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed