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.05683/0.05683, allocations: 12.05 MB / 28.36 MB, free: 1.727 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.0009691/0.0009692, allocations: 111.2 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.001191/0.001191, allocations: 188.5 kB / 35.92 MB, free: 0.7539 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.344/1.344, 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.06064/0.06064, allocations: 13.67 MB / 329.2 MB, free: 472 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.02805/0.02805, allocations: 19.66 MB / 473.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2991, allocations: 55.39 MB / 0.5161 GB, free: 20.14 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.05003/0.3492, allocations: 60.87 MB / 0.5756 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03602/0.3852, allocations: 17.85 MB / 0.593 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0141/0.3994, allocations: 0.4946 MB / 0.5935 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04992/0.4493, allocations: 31.19 MB / 0.6239 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01863/0.468, allocations: 8.328 MB / 0.6321 GB, free: 14.75 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.01061/0.4786, allocations: 5.999 MB / 0.6379 GB, free: 8.762 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03238/0.511, allocations: 28.51 MB / 0.6658 GB, free: 12.32 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05592/0.567, allocations: 48.24 MB / 0.7129 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2797/0.8467, allocations: 13.76 MB / 0.7263 GB, free: 48.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0242/0.8709, allocations: 16.67 MB / 0.7426 GB, free: 48.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01443/0.8854, allocations: 4.895 MB / 0.7474 GB, free: 48.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/0.9021, allocations: 6.312 MB / 0.7535 GB, free: 48.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02083/0.923, allocations: 15.97 MB / 0.7691 GB, free: 47.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02507/0.9481, allocations: 18.8 MB / 0.7875 GB, free: 37.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05495/1.003, allocations: 66.04 MB / 0.852 GB, free: 6.523 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.003, allocations: 0 / 0.852 GB, free: 6.523 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.503e-06/1.003, allocations: 0 / 0.852 GB, free: 6.523 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.00157/1.005, allocations: 0 / 0.852 GB, free: 6.523 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.096/1.101, allocations: 34.61 MB / 0.8858 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.101, allocations: 13.31 kB / 0.8858 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02756/1.128, allocations: 5.865 MB / 0.8915 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0427/1.171, allocations: 24.27 MB / 0.9152 GB, free: 6.898 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/1.172, allocations: 1.803 MB / 0.917 GB, free: 5.18 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008998/1.181, allocations: 2.453 MB / 0.9194 GB, free: 2.812 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6272/1.809, allocations: 60.61 MB / 0.9786 GB, free: 211.9 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001568/1.81, allocations: 227.6 kB / 0.9788 GB, free: 211.8 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009176/1.819, allocations: 1.053 MB / 0.9798 GB, free: 211.8 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01248/1.832, allocations: 6.9 MB / 0.9866 GB, free: 210.7 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09809/1.93, allocations: 51.02 MB / 1.036 GB, free: 188.2 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.5637/2.494, allocations: 246.9 MB / 1.277 GB, free: 107.2 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06798/2.562, allocations: 29.31 MB / 1.306 GB, free: 106.1 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01903/2.581, allocations: 18.19 MB / 1.324 GB, free: 103.3 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/2.582, allocations: 1.299 MB / 1.325 GB, free: 102.3 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05869/2.641, allocations: 21.45 MB / 1.346 GB, free: 96.61 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 1.455e-05/2.641, allocations: 0 / 1.346 GB, free: 96.61 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 Error: Internal error SimCode DAEmode: The model DroneLibrary.Tests.controlModuleTest_fmu_main could not be translated