Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main.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_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06654/0.06654, allocations: 12.04 MB / 28.35 MB, free: 1.73 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.0009573/0.0009573, allocations: 107.9 kB / 32.08 MB, free: 4.574 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.001136/0.001136, allocations: 188.1 kB / 35.91 MB, free: 0.7578 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.447/1.447, allocations: 222.9 MB / 262.5 MB, free: 7.398 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06224/0.06224, allocations: 13.67 MB / 329.2 MB, free: 444 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.02984/0.02984, allocations: 19.73 MB / 473.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3332, allocations: 55.4 MB / 0.5162 GB, free: 20.25 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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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.Tests.controlModuleTest_fmu_main): time 0.05907/0.3923, allocations: 60.86 MB / 0.5756 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04162/0.434, allocations: 17.84 MB / 0.5931 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01477/0.4488, allocations: 0.4946 MB / 0.5935 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05645/0.5053, allocations: 31.19 MB / 0.624 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02188/0.5272, allocations: 8.331 MB / 0.6321 GB, free: 14.78 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.01245/0.5396, allocations: 6.002 MB / 0.638 GB, free: 8.793 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03941/0.5791, allocations: 28.51 MB / 0.6658 GB, free: 12.34 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05935/0.6385, allocations: 48.23 MB / 0.7129 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2941/0.9327, allocations: 13.76 MB / 0.7264 GB, free: 48.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02535/0.958, allocations: 16.67 MB / 0.7427 GB, free: 48.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01474/0.9728, allocations: 4.895 MB / 0.7474 GB, free: 48.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01868/0.9915, allocations: 6.307 MB / 0.7536 GB, free: 48.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02349/1.015, allocations: 15.98 MB / 0.7692 GB, free: 47.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02983/1.045, allocations: 18.81 MB / 0.7876 GB, free: 37.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06259/1.107, allocations: 66.19 MB / 0.8522 GB, free: 6.141 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/1.108, allocations: 4 kB / 0.8522 GB, free: 6.137 MB / 0.5607 GB Notification: Performance of FrontEnd: time 4.068e-06/1.108, allocations: 0 / 0.8522 GB, free: 6.137 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001723/1.109, allocations: 0 / 0.8522 GB, free: 6.137 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.09639/1.206, allocations: 35.35 MB / 0.8867 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/1.206, allocations: 8.031 kB / 0.8867 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/1.234, allocations: 6.02 MB / 0.8926 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04708/1.281, allocations: 24.35 MB / 0.9164 GB, free: 5.516 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001795/1.283, allocations: 1.806 MB / 0.9182 GB, free: 3.797 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01028/1.293, allocations: 2.451 MB / 0.9206 GB, free: 1.43 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6134/1.906, allocations: 60.61 MB / 0.9797 GB, free: 211.4 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001845/1.908, allocations: 235.3 kB / 0.98 GB, free: 211.4 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009163/1.917, allocations: 1.051 MB / 0.981 GB, free: 211.4 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01191/1.929, allocations: 6.895 MB / 0.9877 GB, free: 210.1 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1058/2.035, allocations: 51.02 MB / 1.038 GB, free: 187.6 MB / 0.6702 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.612/2.647, allocations: 247.3 MB / 1.279 GB, free: 106.9 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0682/2.715, allocations: 29.3 MB / 1.308 GB, free: 105.8 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0221/2.738, allocations: 18.18 MB / 1.325 GB, free: 102.5 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/2.74, allocations: 1.306 MB / 1.327 GB, free: 101.6 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06136/2.801, allocations: 21.45 MB / 1.348 GB, free: 95.71 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 2.148e-05/2.801, allocations: 2.281 kB / 1.348 GB, free: 95.71 MB / 0.6702 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: controlModuleTest_fmu_inputs2_1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs2_1.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