Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.05461/0.05461, allocations: 9.126 MB / 19.04 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.00676/0.06137, allocations: 3.426 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.0007571/0.0007571, allocations: 87.3 kB / 23.31 MB, free: 2.887 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.001945, allocations: 458.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.001043/0.001043, allocations: 148.9 kB / 24.65 MB, free: 1.555 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002523, allocations: 483 kB / 25.12 MB, free: 1.082 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.9483/0.9483, allocations: 177.2 MB / 203 MB, free: 8.258 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1597/1.108, 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.04112/0.04112, allocations: 10.58 MB / 268 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006477/0.04759, allocations: 3.71 MB / 271.8 MB, free: 6.57 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.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 273.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.918e-05, allocations: 9.766 kB / 273.1 MB, free: 5.262 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 propellerRev.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 propellerRev.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.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.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.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.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.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.bodyShape5.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.DroneForVR): time 0.0421/0.04212, allocations: 59.09 MB / 332.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2784/0.3205, allocations: 14.74 MB / 346.9 MB, free: 1.816 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01079/0.3313, allocations: 0.4959 MB / 347.4 MB, free: 1.816 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02598/0.3573, allocations: 24.57 MB / 372 MB, free: 0.9336 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01857/0.3758, allocations: 7.795 MB / 379.8 MB, free: 13.27 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008998/0.3848, allocations: 5.444 MB / 385.2 MB, free: 10.39 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03567/0.4205, allocations: 30.68 MB / 415.9 MB, free: 15.02 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04121/0.4617, allocations: 26.57 MB / 442.5 MB, free: 5.27 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03101/0.4927, allocations: 18.53 MB / 461 MB, free: 3.633 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02012/0.5128, allocations: 15.42 MB / 476.4 MB, free: 5.523 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006948/0.5198, allocations: 3.145 MB / 479.6 MB, free: 2.379 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009186/0.529, allocations: 4.513 MB / 484.1 MB, free: 13.96 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01224/0.5412, allocations: 12.47 MB / 496.5 MB, free: 1.586 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01261/0.5538, allocations: 7.633 MB / 0.4924 GB, free: 9.934 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.3418/0.8956, allocations: 24.83 MB / 0.5166 GB, free: 74.95 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 2.075e-05/0.8956, allocations: 0 / 0.5166 GB, free: 74.95 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.873e-06/0.8956, allocations: 2.719 kB / 0.5166 GB, free: 74.95 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001453/0.8971, allocations: 0.8125 kB / 0.5166 GB, free: 74.95 MB / 458.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.06581/0.9629, allocations: 33.29 MB / 0.5491 GB, free: 63.59 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.9629, allocations: 8.562 kB / 0.5491 GB, free: 63.59 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01913/0.982, allocations: 4.729 MB / 0.5537 GB, free: 63.56 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02313/1.005, allocations: 12.72 MB / 0.5662 GB, free: 59.4 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009288/1.006, allocations: 1.53 MB / 0.5676 GB, free: 58.8 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00563/1.012, allocations: 2.076 MB / 0.5697 GB, free: 58.19 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05709/1.069, allocations: 24.93 MB / 0.594 GB, free: 42.08 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001161/1.07, allocations: 236.6 kB / 0.5942 GB, free: 41.94 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007218/1.077, allocations: 0.9171 MB / 0.5951 GB, free: 41.13 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004847/1.082, allocations: 5.917 MB / 0.6009 GB, free: 35.27 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.036/1.118, allocations: 11.56 MB / 0.6122 GB, free: 24.61 MB / 458.9 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.3977/1.516, allocations: 151 MB / 0.7597 GB, free: 33.46 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0422/1.558, allocations: 17.87 MB / 0.7771 GB, free: 33.01 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007007/1.565, allocations: 2.569 MB / 0.7796 GB, free: 32.94 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/1.566, allocations: 0.8382 MB / 0.7805 GB, free: 32.91 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02417/1.59, allocations: 8.924 MB / 0.7892 GB, free: 32.61 MB / 0.495 GB Notification: Performance of pre-optimization done (n=697): time 1.516e-05/1.59, allocations: 0 / 0.7892 GB, free: 32.61 MB / 0.495 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.bodyShape5.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: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.3672093376517296]