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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.07404/0.07404, allocations: 12.03 MB / 27.53 MB, free: 1.309 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.001192/0.001192, allocations: 109.6 kB / 31.24 MB, free: 4.598 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.001277/0.001277, allocations: 196.4 kB / 35.06 MB, free: 0.7812 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.403/1.403, allocations: 222.9 MB / 261.6 MB, free: 28 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05908/0.05908, allocations: 13.68 MB / 328.4 MB, free: 3.723 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.02894/0.02894, allocations: 19.59 MB / 415.8 MB, free: 24.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1446, allocations: 55.41 MB / 471.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.3136/0.4583, allocations: 60.83 MB / 0.5195 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04576/0.5041, allocations: 17.84 MB / 0.537 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02136/0.5255, allocations: 0.4947 MB / 0.5374 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05146/0.5771, allocations: 31.19 MB / 0.5679 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0262/0.6033, allocations: 8.053 MB / 0.5758 GB, free: 9.641 MB / 398.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.01576/0.6191, allocations: 6.002 MB / 0.5816 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04362/0.6628, allocations: 28.5 MB / 0.6095 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07801/0.7408, allocations: 48.37 MB / 0.6567 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03111/0.772, allocations: 13.77 MB / 0.6701 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03111/0.8032, allocations: 16.62 MB / 0.6864 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01539/0.8186, allocations: 4.891 MB / 0.6912 GB, free: 12.17 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02414/0.8427, allocations: 6.3 MB / 0.6973 GB, free: 5.953 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.3567/1.2, allocations: 15.72 MB / 0.7127 GB, free: 69.28 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.04565/1.245, allocations: 18.9 MB / 0.7311 GB, free: 65.59 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.08386/1.329, allocations: 65.63 MB / 0.7952 GB, free: 33.95 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.329, allocations: 0 / 0.7952 GB, free: 33.95 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.905e-06/1.329, allocations: 4.5 kB / 0.7952 GB, free: 33.95 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002275/1.331, allocations: 0 / 0.7952 GB, free: 33.95 MB / 0.4982 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.1686/1.5, allocations: 34.85 MB / 0.8293 GB, free: 10.71 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/1.5, allocations: 13.97 kB / 0.8293 GB, free: 10.71 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02331/1.523, allocations: 3.977 MB / 0.8331 GB, free: 8.062 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04865/1.572, allocations: 7.857 MB / 0.8408 GB, free: 0.8008 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06946/1.642, allocations: 28.39 MB / 0.8685 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002422/1.644, allocations: 1.805 MB / 0.8703 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01494/1.659, allocations: 2.449 MB / 0.8727 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5083/2.167, allocations: 60.53 MB / 0.9318 GB, free: 159 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003485/2.171, allocations: 232 kB / 0.932 GB, free: 159 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01408/2.185, allocations: 1.05 MB / 0.9331 GB, free: 159 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01447/2.2, allocations: 6.888 MB / 0.9398 GB, free: 158.9 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1285/2.328, allocations: 50.86 MB / 0.9895 GB, free: 142.8 MB / 0.5763 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.7258/3.054, allocations: 248.1 MB / 1.232 GB, free: 78.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07055/3.125, allocations: 29.23 MB / 1.26 GB, free: 76.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02113/3.146, allocations: 18.09 MB / 1.278 GB, free: 67.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/3.147, allocations: 1.301 MB / 1.279 GB, free: 66.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05997/3.207, allocations: 21.36 MB / 1.3 GB, free: 49.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=901): time 1.691e-05/3.207, allocations: 0 / 1.3 GB, free: 49.74 MB / 0.5919 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed