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.05901/0.05901, allocations: 12.05 MB / 28.35 MB, free: 1.848 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.001029/0.001029, allocations: 107.7 kB / 32.07 MB, free: 4.73 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.001269/0.00127, allocations: 195.6 kB / 35.91 MB, free: 0.9102 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.218/1.218, allocations: 222.9 MB / 262.5 MB, free: 10.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1469/0.1469, allocations: 13.66 MB / 329.2 MB, free: 2.754 MB / 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.3163/0.3163, allocations: 19.73 MB / 473.2 MB, free: 38.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07567/0.392, allocations: 55.4 MB / 0.5162 GB, free: 13.3 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.04671/0.4387, allocations: 60.87 MB / 0.5756 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03211/0.4709, allocations: 17.85 MB / 0.5931 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01152/0.4824, allocations: 0.4946 MB / 0.5936 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04688/0.5293, allocations: 31.19 MB / 0.624 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.547, allocations: 8.322 MB / 0.6321 GB, free: 4.418 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.2204/0.7674, allocations: 6.006 MB / 0.638 GB, free: 9.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02907/0.7965, allocations: 28.49 MB / 0.6658 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04308/0.8396, allocations: 48.25 MB / 0.7129 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02067/0.8603, allocations: 13.97 MB / 0.7266 GB, free: 7.18 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02347/0.8838, allocations: 16.68 MB / 0.7429 GB, free: 7.707 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01071/0.8946, allocations: 4.891 MB / 0.7477 GB, free: 2.816 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01359/0.9082, allocations: 6.309 MB / 0.7538 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01895/0.9271, allocations: 15.97 MB / 0.7694 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02801/0.9552, allocations: 18.81 MB / 0.7878 GB, free: 10.07 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.06902/1.024, allocations: 66.19 MB / 0.8524 GB, free: 8.867 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.024, allocations: 0 / 0.8524 GB, free: 8.867 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.114e-06/1.024, allocations: 0 / 0.8524 GB, free: 8.867 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.001411/1.026, allocations: 0 / 0.8524 GB, free: 8.867 MB / 0.6232 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.4948/1.521, allocations: 35.35 MB / 0.8869 GB, free: 209.7 MB / 0.6389 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.521, allocations: 15.75 kB / 0.887 GB, free: 209.7 MB / 0.6389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02816/1.549, allocations: 6.017 MB / 0.8928 GB, free: 207.7 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04045/1.589, allocations: 24.36 MB / 0.9166 GB, free: 193.8 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/1.591, allocations: 1.808 MB / 0.9184 GB, free: 193.1 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009788/1.6, allocations: 2.446 MB / 0.9208 GB, free: 192.3 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1183/1.719, allocations: 60.62 MB / 0.98 GB, free: 132 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001272/1.72, allocations: 230.4 kB / 0.9802 GB, free: 131.8 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007198/1.727, allocations: 1.055 MB / 0.9812 GB, free: 130.8 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008653/1.736, allocations: 6.895 MB / 0.988 GB, free: 124 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08867/1.825, allocations: 51.02 MB / 1.038 GB, free: 72.99 MB / 0.6389 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.5061/2.331, allocations: 247.3 MB / 1.279 GB, free: 66.31 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06069/2.391, allocations: 29.3 MB / 1.308 GB, free: 50.87 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01778/2.409, allocations: 18.18 MB / 1.326 GB, free: 32.74 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/2.411, allocations: 1.304 MB / 1.327 GB, free: 31.32 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05219/2.463, allocations: 21.45 MB / 1.348 GB, free: 9.793 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=901): time 1.712e-05/2.463, allocations: 0 / 1.348 GB, free: 9.793 MB / 0.6545 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