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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06509/0.06509, allocations: 12.16 MB / 30.25 MB, free: 168 kB / 19.63 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 116.5 kB / 36.33 MB, free: 3.836 MB / 26.18 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 203.9 kB / 42.52 MB, free: 6.387 MB / 34.91 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 274.1 MB, free: 8.914 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.08375/0.08375, allocations: 13.89 MB / 346.1 MB, free: 10.64 MB / 270.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [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.03409/0.03409, allocations: 20.42 MB / 499.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.3266, allocations: 58.44 MB / 0.5452 GB, free: 18.09 MB / 382.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.06407/0.3906, allocations: 60.97 MB / 0.6048 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0427/0.4333, allocations: 17.49 MB / 0.6218 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01468/0.448, allocations: 0.4972 MB / 0.6223 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05795/0.506, allocations: 31.47 MB / 0.6531 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02144/0.5274, allocations: 8.317 MB / 0.6612 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.54, allocations: 5.913 MB / 0.667 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04171/0.5817, allocations: 28.36 MB / 0.6947 GB, free: 2.371 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3362/0.9179, allocations: 36.86 MB / 0.7307 GB, free: 22.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02619/0.9441, allocations: 13.78 MB / 0.7441 GB, free: 22.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02913/0.9732, allocations: 17.55 MB / 0.7612 GB, free: 21.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01442/0.9876, allocations: 4.893 MB / 0.766 GB, free: 21.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01853/1.006, allocations: 6.265 MB / 0.7721 GB, free: 21.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02476/1.031, allocations: 16.22 MB / 0.788 GB, free: 19.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.03308/1.064, allocations: 18.76 MB / 0.8063 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0826/1.147, allocations: 67.21 MB / 0.8719 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/1.147, allocations: 0 / 0.8719 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.575e-06/1.147, allocations: 0 / 0.8719 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002102/1.149, allocations: 3.984 kB / 0.8719 GB, free: 13.07 MB / 0.5919 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.1082/1.257, allocations: 35.23 MB / 0.9064 GB, free: 10.01 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.257, allocations: 12.03 kB / 0.9064 GB, free: 9.996 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02927/1.286, allocations: 5.998 MB / 0.9122 GB, free: 3.988 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05248/1.339, allocations: 24.33 MB / 0.936 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001883/1.341, allocations: 1.799 MB / 0.9377 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01154/1.352, allocations: 2.444 MB / 0.9401 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7003/2.052, allocations: 60.58 MB / 0.9993 GB, free: 224.7 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001793/2.054, allocations: 236.3 kB / 0.9995 GB, free: 224.6 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01055/2.065, allocations: 1.054 MB / 1.001 GB, free: 223.9 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01128/2.076, allocations: 6.898 MB / 1.007 GB, free: 222.2 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1007/2.177, allocations: 50.98 MB / 1.057 GB, free: 192.9 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.6554/2.832, allocations: 247 MB / 1.298 GB, free: 118.2 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0639/2.896, allocations: 28.5 MB / 1.326 GB, free: 117.1 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.021/2.917, allocations: 17.35 MB / 1.343 GB, free: 113.7 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001904/2.919, allocations: 1.304 MB / 1.344 GB, free: 112.8 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05814/2.977, allocations: 21.4 MB / 1.365 GB, free: 102.9 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=892): time 2.042e-05/2.977, allocations: 0 / 1.365 GB, free: 102.9 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: 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed [Timeout remaining time 656]