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/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/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/package.mo): time 0.06342/0.06342, allocations: 12.02 MB / 27.65 MB, free: 2.242 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.0009242/0.0009243, allocations: 98.23 kB / 31.36 MB, free: 5.141 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.001085/0.001085, allocations: 200.4 kB / 35.2 MB, free: 1.324 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.386/1.386, allocations: 222.9 MB / 261.7 MB, free: 7.352 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1084/0.1084, allocations: 13.68 MB / 328.5 MB, free: 472 kB / 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.03237/0.03237, allocations: 19.69 MB / 472.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3686, allocations: 55.39 MB / 0.5154 GB, free: 20.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.0922/0.4609, allocations: 60.72 MB / 0.5747 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05768/0.5186, allocations: 17.46 MB / 0.5918 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02172/0.5404, allocations: 0.4946 MB / 0.5923 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05888/0.5993, allocations: 31.18 MB / 0.6227 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02533/0.6248, allocations: 8.051 MB / 0.6306 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.6385, allocations: 5.892 MB / 0.6363 GB, free: 9.789 MB / 478.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.04106/0.6795, allocations: 28.41 MB / 0.6641 GB, free: 13.44 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07201/0.7516, allocations: 47.27 MB / 0.7102 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02609/0.7777, allocations: 13.76 MB / 0.7237 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3678/1.146, allocations: 16.57 MB / 0.7399 GB, free: 58.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01847/1.164, allocations: 4.885 MB / 0.7446 GB, free: 58.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/1.183, allocations: 6.195 MB / 0.7507 GB, free: 58.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02413/1.208, allocations: 15.71 MB / 0.766 GB, free: 57.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03423/1.242, allocations: 18.77 MB / 0.7844 GB, free: 48.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07067/1.313, allocations: 67.19 MB / 0.85 GB, free: 356 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/1.313, allocations: 4 kB / 0.85 GB, free: 352 kB / 0.545 GB Notification: Performance of FrontEnd: time 3.307e-06/1.313, allocations: 0 / 0.85 GB, free: 352 kB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002046/1.315, allocations: 2.531 kB / 0.85 GB, free: 352 kB / 0.545 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.1091/1.424, allocations: 35.23 MB / 0.8844 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.424, allocations: 8.031 kB / 0.8844 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03115/1.455, allocations: 6.001 MB / 0.8903 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04611/1.501, allocations: 24.32 MB / 0.914 GB, free: 15.89 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001557/1.503, allocations: 1.798 MB / 0.9158 GB, free: 14.18 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009749/1.513, allocations: 2.449 MB / 0.9182 GB, free: 11.82 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6264/2.139, allocations: 60.57 MB / 0.9773 GB, free: 197.9 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001664/2.141, allocations: 236.6 kB / 0.9775 GB, free: 197.8 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008787/2.15, allocations: 1.053 MB / 0.9786 GB, free: 197.2 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01168/2.161, allocations: 6.887 MB / 0.9853 GB, free: 195.5 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.103/2.264, allocations: 50.99 MB / 1.035 GB, free: 170.9 MB / 0.6545 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.6217/2.886, allocations: 247 MB / 1.276 GB, free: 107.7 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07039/2.956, allocations: 29.24 MB / 1.305 GB, free: 106.6 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02013/2.977, allocations: 18.16 MB / 1.323 GB, free: 102.7 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/2.979, allocations: 1.311 MB / 1.324 GB, free: 101.8 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06094/3.039, allocations: 21.39 MB / 1.345 GB, free: 94.37 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=892): time 1.817e-05/3.04, allocations: 0 / 1.345 GB, free: 94.37 MB / 0.6702 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed