Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) 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.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06409/0.06409, allocations: 12.05 MB / 28.35 MB, free: 1.703 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.0009908, allocations: 110.9 kB / 32.08 MB, free: 4.547 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 188.1 kB / 35.91 MB, free: 0.7266 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 262.5 MB, free: 7.473 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06176/0.06176, allocations: 13.68 MB / 329.2 MB, free: 448 kB / 254.1 MB 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.02925/0.02925, allocations: 19.74 MB / 473.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.3247, allocations: 55.39 MB / 0.5162 GB, free: 20.27 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 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 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 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 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. [/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 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 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 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 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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.05643/0.3812, allocations: 60.64 MB / 0.5754 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03911/0.4204, allocations: 16.28 MB / 0.5913 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01516/0.4356, allocations: 0.4907 MB / 0.5918 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0567/0.4923, allocations: 31.1 MB / 0.6222 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02135/0.5137, allocations: 8.093 MB / 0.6301 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.5251, allocations: 5.36 MB / 0.6353 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03623/0.5614, allocations: 26.77 MB / 0.6615 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05217/0.6136, allocations: 43.83 MB / 0.7042 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02225/0.6359, allocations: 12.91 MB / 0.7169 GB, free: 8.492 MB / 0.5451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2948/0.9308, allocations: 16.09 MB / 0.7326 GB, free: 54.39 MB / 0.5451 GB Notification: Performance of NFPackage.collectConstants: time 0.01391/0.9447, allocations: 4.059 MB / 0.7365 GB, free: 54.39 MB / 0.5451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01702/0.9618, allocations: 5.393 MB / 0.7418 GB, free: 54.39 MB / 0.5451 GB Notification: Performance of NFScalarize.scalarize: time 0.01936/0.9812, allocations: 15.12 MB / 0.7566 GB, free: 54.39 MB / 0.5451 GB Notification: Performance of NFVerifyModel.verify: time 0.03012/1.011, allocations: 17.23 MB / 0.7734 GB, free: 50.02 MB / 0.5451 GB Notification: Performance of NFConvertDAE.convert: time 0.05575/1.067, allocations: 58.75 MB / 0.8308 GB, free: 14.31 MB / 0.5451 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.067, allocations: 0 / 0.8308 GB, free: 14.31 MB / 0.5451 GB Notification: Performance of FrontEnd: time 1.573e-06/1.067, allocations: 0 / 0.8308 GB, free: 14.31 MB / 0.5451 GB Notification: Performance of Transformations before backend: time 0.00182/1.069, allocations: 2.562 kB / 0.8308 GB, free: 14.31 MB / 0.5451 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.089/1.158, allocations: 34.6 MB / 0.8645 GB, free: 15.01 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.158, allocations: 12.03 kB / 0.8646 GB, free: 15 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02744/1.186, allocations: 5.938 MB / 0.8704 GB, free: 9.051 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04031/1.226, allocations: 21.21 MB / 0.8911 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001494/1.227, allocations: 1.791 MB / 0.8928 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00964/1.237, allocations: 2.444 MB / 0.8952 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1212/1.358, allocations: 57.13 MB / 0.951 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001108/1.36, allocations: 238.1 kB / 0.9512 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007015/1.367, allocations: 1.043 MB / 0.9522 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01001/1.377, allocations: 6.493 MB / 0.9586 GB, free: 14.52 MB / 0.6701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.356/1.733, allocations: 47.37 MB / 1.005 GB, free: 218.8 MB / 0.6701 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.2638/1.996, allocations: 225.2 MB / 1.225 GB, free: 15.07 MB / 0.6701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3461/2.343, allocations: 27.73 MB / 1.252 GB, free: 209.8 MB / 0.6701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02293/2.366, allocations: 16.78 MB / 1.268 GB, free: 202.5 MB / 0.6701 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/2.367, allocations: 1.293 MB / 1.269 GB, free: 201.6 MB / 0.6701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05888/2.426, allocations: 20.42 MB / 1.289 GB, free: 196.7 MB / 0.6701 GB Notification: Performance of pre-optimization done (n=891): time 6.607e-05/2.426, allocations: 0 / 1.289 GB, free: 196.7 MB / 0.6701 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: 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/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed