Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.04184/0.04184, allocations: 9.126 MB / 28.98 MB, free: 0.6602 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. " [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.0007208/0.0007208, allocations: 94.83 kB / 35.18 MB, free: 1.387 MB / 24.77 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. " [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.0008866/0.0008866, allocations: 156.7 kB / 41.47 MB, free: 1.754 MB / 24.77 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. " [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.8169/0.8169, allocations: 177.1 MB / 224.8 MB, free: 8.82 MB / 202.7 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. " [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.04161/0.04161, allocations: 10.58 MB / 294.8 MB, free: 6.027 MB / 266.7 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. " [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.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 431.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.734e-05, allocations: 5.234 kB / 431.4 MB, free: 12.36 MB / 330.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 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 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 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 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 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 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 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 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.Drone_IdealMachine): time 0.03041/0.03043, allocations: 50.3 MB / 481.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02718/0.05761, allocations: 15.74 MB / 497.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01415/0.07176, allocations: 0.5674 MB / 498 MB, free: 9.496 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3247/0.3964, allocations: 31.66 MB / 0.5172 GB, free: 8.984 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01391/0.4104, allocations: 8.188 MB / 0.5252 GB, free: 8.262 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008187/0.4185, allocations: 6.018 MB / 0.5311 GB, free: 8.141 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0271/0.4456, allocations: 32.28 MB / 0.5626 GB, free: 1.961 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03503/0.4807, allocations: 33.89 MB / 0.5957 GB, free: 3.793 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04059/0.5213, allocations: 20.57 MB / 0.6158 GB, free: 320 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02145/0.5427, allocations: 16.92 MB / 0.6323 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009023/0.5517, allocations: 4.148 MB / 0.6364 GB, free: 12.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01042/0.5622, allocations: 5.474 MB / 0.6417 GB, free: 7.219 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01508/0.5772, allocations: 16 MB / 0.6574 GB, free: 7.805 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.01855/0.5958, allocations: 11.09 MB / 0.6682 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.429/1.025, allocations: 59.97 MB / 0.7268 GB, free: 87.84 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.025, allocations: 1.188 kB / 0.7268 GB, free: 87.84 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.733e-06/1.025, allocations: 0 / 0.7268 GB, free: 87.84 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001573/1.026, allocations: 0 / 0.7268 GB, free: 87.84 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.07419/1.101, allocations: 35.27 MB / 0.7612 GB, free: 75.11 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.101, allocations: 13.38 kB / 0.7612 GB, free: 75.11 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/1.117, allocations: 6.064 MB / 0.7671 GB, free: 72.31 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03065/1.148, allocations: 20.44 MB / 0.7871 GB, free: 62.56 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009446/1.149, allocations: 1.784 MB / 0.7888 GB, free: 61.81 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008676/1.157, allocations: 2.43 MB / 0.7912 GB, free: 61.03 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07563/1.233, allocations: 56.54 MB / 0.8464 GB, free: 7.398 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007064/1.234, allocations: 240.6 kB / 0.8467 GB, free: 7.23 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002716/1.236, allocations: 1.038 MB / 0.8477 GB, free: 6.273 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004502/1.241, allocations: 6.211 MB / 0.8537 GB, free: 136 kB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06996/1.311, allocations: 46.62 MB / 0.8993 GB, free: 2.105 MB / 0.5888 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.4547/1.766, allocations: 205.9 MB / 1.1 GB, free: 115.3 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03913/1.805, allocations: 27.26 MB / 1.127 GB, free: 88.07 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0159/1.821, allocations: 16.09 MB / 1.143 GB, free: 71.96 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/1.822, allocations: 0.5822 MB / 1.143 GB, free: 71.39 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03576/1.858, allocations: 21.2 MB / 1.164 GB, free: 50.1 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=891): time 1.183e-05/1.858, allocations: 0 / 1.164 GB, free: 50.1 MB / 0.6356 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.9914469430223107] Failed to read output from testmodel.py, exit status != 0: 2.3524597492069006 2.359064384 1.332615931 Calling exit ...