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.09155/0.09155, allocations: 12.03 MB / 27.53 MB, free: 1.363 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.001108/0.001108, allocations: 109.6 kB / 31.24 MB, free: 4.586 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.001314/0.001314, allocations: 196.4 kB / 35.06 MB, free: 0.7695 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.477/1.477, allocations: 222.9 MB / 261.6 MB, free: 48 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06244/0.06244, allocations: 13.66 MB / 328.4 MB, free: 3.742 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.03017/0.03017, allocations: 19.61 MB / 415.8 MB, free: 25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1695, allocations: 55.43 MB / 471.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.3913/0.5609, allocations: 60.83 MB / 0.5196 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04411/0.6051, allocations: 17.84 MB / 0.537 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01875/0.6239, allocations: 0.491 MB / 0.5375 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05616/0.6801, allocations: 31.18 MB / 0.5679 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02819/0.7083, allocations: 8.061 MB / 0.5758 GB, free: 9.66 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.01924/0.7276, allocations: 5.999 MB / 0.5817 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04296/0.7706, allocations: 28.5 MB / 0.6095 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08458/0.8552, allocations: 48.37 MB / 0.6567 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02719/0.8824, allocations: 13.77 MB / 0.6702 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03296/0.9154, allocations: 16.62 MB / 0.6864 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01563/0.9311, allocations: 4.891 MB / 0.6912 GB, free: 12.16 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0241/0.9552, allocations: 6.295 MB / 0.6973 GB, free: 5.945 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.3907/1.346, allocations: 15.72 MB / 0.7127 GB, free: 69.33 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0568/1.403, allocations: 18.91 MB / 0.7312 GB, free: 65.64 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.09202/1.495, allocations: 65.62 MB / 0.7952 GB, free: 34.03 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/1.495, allocations: 0 / 0.7952 GB, free: 34.03 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.623e-06/1.495, allocations: 0 / 0.7952 GB, free: 34.03 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002442/1.497, allocations: 0 / 0.7952 GB, free: 34.03 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.1337/1.631, allocations: 34.87 MB / 0.8293 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.631, allocations: 8.656 kB / 0.8293 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02127/1.653, allocations: 3.974 MB / 0.8332 GB, free: 8.137 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04413/1.697, allocations: 7.859 MB / 0.8409 GB, free: 0.8242 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06012/1.757, allocations: 28.4 MB / 0.8686 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00196/1.759, allocations: 1.808 MB / 0.8704 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0144/1.773, allocations: 2.445 MB / 0.8727 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.52/2.293, allocations: 60.53 MB / 0.9319 GB, free: 158.9 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002626/2.296, allocations: 231.3 kB / 0.9321 GB, free: 158.9 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01486/2.311, allocations: 1.047 MB / 0.9331 GB, free: 158.9 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01473/2.326, allocations: 6.891 MB / 0.9398 GB, free: 158.9 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1282/2.454, allocations: 50.86 MB / 0.9895 GB, free: 142.7 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.7829/3.237, allocations: 248.1 MB / 1.232 GB, free: 78.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07503/3.312, allocations: 29.23 MB / 1.26 GB, free: 76.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0232/3.335, allocations: 18.1 MB / 1.278 GB, free: 67.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/3.337, allocations: 1.301 MB / 1.279 GB, free: 66.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06519/3.403, allocations: 21.36 MB / 1.3 GB, free: 49.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=901): time 2.663e-05/3.403, allocations: 3 kB / 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