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.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.09631/0.09631, allocations: 9.129 MB / 19.04 MB, free: 0.6562 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.009051/0.1054, allocations: 3.422 MB / 22.46 MB, free: 3.723 MB / 24.77 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.0009038/0.0009038, allocations: 94.69 kB / 23.32 MB, free: 2.883 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002465, allocations: 447.8 kB / 23.76 MB, free: 2.441 MB / 24.77 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.001163/0.001163, allocations: 152.9 kB / 24.65 MB, free: 1.547 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002407, allocations: 478.6 kB / 25.12 MB, free: 1.078 MB / 24.77 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 0.9057/0.9057, allocations: 177.2 MB / 203.1 MB, free: 8.246 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1375/1.043, allocations: 53.67 MB / 256.7 MB, free: 5.301 MB / 250.7 MB " [Timeout remaining time 179] 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.0824/0.0824, allocations: 10.58 MB / 268 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01157/0.09397, allocations: 3.718 MB / 271.8 MB, free: 6.559 MB / 266.7 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: translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 273 MB, free: 5.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.037e-05, allocations: 2.312 kB / 273 MB, free: 5.277 MB / 266.7 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 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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.06205/0.06207, allocations: 55.2 MB / 328.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2588/0.3208, allocations: 17.94 MB / 346.2 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01209/0.3329, allocations: 0.5706 MB / 346.8 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02993/0.3629, allocations: 31.99 MB / 378.7 MB, free: 15.72 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01783/0.3807, allocations: 8.441 MB / 387.2 MB, free: 11.21 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.3913, allocations: 6.864 MB / 394.1 MB, free: 5.246 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03425/0.4256, allocations: 34.61 MB / 428.7 MB, free: 4.5 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04761/0.4732, allocations: 34.78 MB / 463.4 MB, free: 2.84 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03764/0.5108, allocations: 23.52 MB / 487 MB, free: 12.34 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02569/0.5365, allocations: 17.92 MB / 0.493 GB, free: 11.93 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01045/0.547, allocations: 4.991 MB / 0.4979 GB, free: 6.938 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.5615, allocations: 6.378 MB / 0.5041 GB, free: 0.6641 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.1746/0.7361, allocations: 15.19 MB / 0.519 GB, free: 76.41 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01803/0.7541, allocations: 10.09 MB / 0.5288 GB, free: 76.41 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02672/0.7808, allocations: 30.98 MB / 0.5591 GB, free: 73.46 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.7809, allocations: 0 / 0.5591 GB, free: 73.46 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7809, allocations: 0 / 0.5591 GB, free: 73.46 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001214/0.7821, allocations: 0 / 0.5591 GB, free: 73.46 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.05468/0.8368, allocations: 38.58 MB / 0.5968 GB, free: 45.97 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.8368, allocations: 8.75 kB / 0.5968 GB, free: 45.96 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.8486, allocations: 5.199 MB / 0.6019 GB, free: 41.96 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/0.868, allocations: 16.44 MB / 0.6179 GB, free: 26.51 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007331/0.8688, allocations: 1.788 MB / 0.6196 GB, free: 24.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004028/0.8728, allocations: 2.429 MB / 0.622 GB, free: 22.47 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04734/0.9201, allocations: 26.55 MB / 0.6479 GB, free: 11.38 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000845/0.921, allocations: 221 kB / 0.6482 GB, free: 11.25 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003874/0.9248, allocations: 1.042 MB / 0.6492 GB, free: 10.29 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004834/0.9297, allocations: 5.686 MB / 0.6547 GB, free: 4.637 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08246/1.012, allocations: 12.57 MB / 0.667 GB, free: 8.82 MB / 490.8 MB 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.3438/1.356, allocations: 162.7 MB / 0.8259 GB, free: 17.15 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03/1.386, allocations: 20.54 MB / 0.846 GB, free: 6.969 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004722/1.391, allocations: 2.771 MB / 0.8487 GB, free: 4.203 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008718/1.391, allocations: 0.8145 MB / 0.8495 GB, free: 3.406 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02264/1.414, allocations: 9.914 MB / 0.8591 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=838): time 1.389e-05/1.414, allocations: 0 / 0.8591 GB, free: 9.922 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.4079456590116024]