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.1019/0.1019, allocations: 12.17 MB / 31.02 MB, free: 0.9922 MB / 18.57 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.0009528/0.0009528, allocations: 119.9 kB / 37.25 MB, free: 1.336 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.001735/0.001735, allocations: 210.4 kB / 43.58 MB, free: 3.273 MB / 33.03 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 1.111/1.111, allocations: 230.6 MB / 280.4 MB, free: 7.141 MB / 202.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.08836/0.08836, allocations: 13.89 MB / 353.7 MB, free: 15.05 MB / 282.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.05361/0.05361, allocations: 30.19 MB / 0.5092 GB, free: 388 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.5045, allocations: 59.68 MB / 0.5674 GB, free: 9.961 MB / 378.8 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.04008/0.5446, allocations: 53.84 MB / 0.62 GB, free: 3.922 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.03115/0.5758, allocations: 13.77 MB / 0.6335 GB, free: 6.23 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01416/0.5899, allocations: 0.4974 MB / 0.6339 GB, free: 5.73 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02989/0.6198, allocations: 23.07 MB / 0.6565 GB, free: 14.61 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02329/0.6431, allocations: 7.599 MB / 0.6639 GB, free: 7.039 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.6563, allocations: 4.803 MB / 0.6686 GB, free: 2.25 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.03998/0.6963, allocations: 25.69 MB / 0.6937 GB, free: 8.625 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4241/1.12, allocations: 24.44 MB / 0.7175 GB, free: 12.38 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02721/1.148, allocations: 11.08 MB / 0.7284 GB, free: 12 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02555/1.173, allocations: 13.66 MB / 0.7417 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.01607/1.189, allocations: 3.065 MB / 0.7447 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0227/1.212, allocations: 4.244 MB / 0.7488 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.02996/1.242, allocations: 13.28 MB / 0.7618 GB, free: 9.258 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.02619/1.268, allocations: 11.12 MB / 0.7727 GB, free: 2.168 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.06602/1.334, allocations: 48.08 MB / 0.8196 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.334, allocations: 2.469 kB / 0.8196 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.164e-06/1.334, allocations: 0 / 0.8196 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.001634/1.336, allocations: 0 / 0.8196 GB, free: 4.703 MB / 0.5418 GB 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.0751/1.411, allocations: 30.71 MB / 0.8496 GB, free: 6.23 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.411, allocations: 11.31 kB / 0.8496 GB, free: 6.223 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01062/1.422, allocations: 4.067 MB / 0.8536 GB, free: 2.246 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02375/1.445, allocations: 7.524 MB / 0.8609 GB, free: 10.75 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04543/1.491, allocations: 20.49 MB / 0.881 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00198/1.493, allocations: 1.529 MB / 0.8824 GB, free: 5.785 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01189/1.505, allocations: 2.096 MB / 0.8845 GB, free: 3.797 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1059/1.61, allocations: 52.26 MB / 0.9355 GB, free: 13.42 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001103/1.612, allocations: 242.9 kB / 0.9358 GB, free: 13.26 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006253/1.618, allocations: 0.9129 MB / 0.9366 GB, free: 12.45 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007526/1.625, allocations: 6.922 MB / 0.9434 GB, free: 5.613 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6839/2.309, allocations: 41.2 MB / 0.9836 GB, free: 219.3 MB / 0.6669 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.2653/2.574, allocations: 197.7 MB / 1.177 GB, free: 20.89 MB / 0.6669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03961/2.614, allocations: 23.38 MB / 1.2 GB, free: 13.59 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.313/2.927, allocations: 14.8 MB / 1.214 GB, free: 231.7 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/2.929, allocations: 0.7494 MB / 1.215 GB, free: 231.7 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03552/2.964, allocations: 18.89 MB / 1.233 GB, free: 229.4 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=751): time 1.122e-05/2.964, allocations: 0 / 1.233 GB, free: 229.4 MB / 0.6825 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: 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: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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.4748327834531665]