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/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/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/package.mo): time 0.07228/0.07228, allocations: 12.02 MB / 27.65 MB, free: 1.836 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.0009792/0.0009794, allocations: 107.2 kB / 31.36 MB, free: 4.965 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.001352/0.001352, allocations: 192.5 kB / 35.2 MB, free: 1.141 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.396/1.396, allocations: 222.9 MB / 261.7 MB, free: 7.461 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06174/0.06174, allocations: 13.67 MB / 328.5 MB, free: 488 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.02943/0.02943, allocations: 19.65 MB / 472.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3358, allocations: 55.4 MB / 0.5154 GB, free: 20.8 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.05946/0.3953, allocations: 60.86 MB / 0.5748 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04216/0.4375, allocations: 17.85 MB / 0.5923 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01585/0.4534, allocations: 0.4933 MB / 0.5927 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05524/0.5087, allocations: 31.19 MB / 0.6232 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02411/0.5328, allocations: 8.329 MB / 0.6313 GB, free: 14.97 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.01325/0.5461, allocations: 6.005 MB / 0.6372 GB, free: 8.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03854/0.5847, allocations: 28.5 MB / 0.665 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0726/0.6573, allocations: 48.24 MB / 0.7121 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3221/0.9795, allocations: 13.76 MB / 0.7256 GB, free: 48.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02693/1.007, allocations: 16.68 MB / 0.7419 GB, free: 48.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01759/1.024, allocations: 4.895 MB / 0.7466 GB, free: 48.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02263/1.047, allocations: 6.304 MB / 0.7528 GB, free: 48.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02739/1.074, allocations: 15.97 MB / 0.7684 GB, free: 47.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03683/1.111, allocations: 18.81 MB / 0.7868 GB, free: 37.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06499/1.176, allocations: 66.03 MB / 0.8513 GB, free: 6.785 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.176, allocations: 0 / 0.8513 GB, free: 6.785 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.454e-06/1.176, allocations: 5.094 kB / 0.8513 GB, free: 6.785 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001911/1.178, allocations: 0 / 0.8513 GB, free: 6.785 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.1083/1.286, allocations: 34.61 MB / 0.8851 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.286, allocations: 8.031 kB / 0.8851 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0306/1.317, allocations: 5.874 MB / 0.8908 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04946/1.367, allocations: 24.27 MB / 0.9145 GB, free: 7.152 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001772/1.368, allocations: 1.797 MB / 0.9163 GB, free: 5.438 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01031/1.379, allocations: 2.457 MB / 0.9187 GB, free: 3.07 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6634/2.042, allocations: 60.61 MB / 0.9778 GB, free: 212.5 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002173/2.044, allocations: 231 kB / 0.9781 GB, free: 212.4 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01039/2.055, allocations: 1.052 MB / 0.9791 GB, free: 212.4 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01242/2.067, allocations: 6.895 MB / 0.9858 GB, free: 211 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1097/2.177, allocations: 51.03 MB / 1.036 GB, free: 188.5 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.673/2.85, allocations: 246.9 MB / 1.277 GB, free: 107.9 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0753/2.925, allocations: 29.31 MB / 1.305 GB, free: 106.8 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02323/2.949, allocations: 18.18 MB / 1.323 GB, free: 103.4 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002007/2.951, allocations: 1.309 MB / 1.324 GB, free: 102.5 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06366/3.014, allocations: 21.45 MB / 1.345 GB, free: 96.8 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=901): time 2.089e-05/3.015, allocations: 4.797 kB / 1.345 GB, free: 96.8 MB / 0.6702 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: 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/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed