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: "" <> 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/package.mo): time 0.0576/0.0576, allocations: 12.03 MB / 27.01 MB, free: 2.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.0007012/0.000701, allocations: 102 kB / 30.74 MB, free: 5.578 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.000874/0.0008737, allocations: 184.5 kB / 34.58 MB, free: 1.75 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.402/1.402, allocations: 223.2 MB / 261.5 MB, free: 9.648 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05516/0.05516, allocations: 13.7 MB / 329.3 MB, free: 388 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.01677/0.01677, allocations: 17.45 MB / 415.1 MB, free: 28.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1281, allocations: 56.48 MB / 471.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.8439/0.9721, allocations: 376.3 MB / 0.828 GB, free: 8.047 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1849/1.157, allocations: 82.86 MB / 0.9089 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08375/1.241, allocations: 1.8 MB / 0.9106 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.05596/1.297, allocations: 17.74 MB / 0.928 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.482/1.779, allocations: 49.92 MB / 0.9767 GB, free: 12.78 MB / 0.6075 GB [/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/1.798, allocations: 4.198 MB / 0.9808 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.06783/1.866, allocations: 60.11 MB / 1.04 GB, free: 10.25 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07977/1.946, allocations: 50.98 MB / 1.089 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01781/1.964, allocations: 7.99 MB / 1.097 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02182/1.986, allocations: 12.15 MB / 1.109 GB, free: 6.102 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00577/1.991, allocations: 1.09 MB / 1.11 GB, free: 5.012 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00914/2.001, allocations: 2.316 MB / 1.112 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01569/2.016, allocations: 11.2 MB / 1.123 GB, free: 9.781 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.01202/2.028, allocations: 6.437 MB / 1.13 GB, free: 7.059 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.05572/2.084, allocations: 55.07 MB / 1.183 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/2.084, allocations: 0 / 1.183 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.746e-06/2.084, allocations: 4 kB / 1.183 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001664/2.086, allocations: 0 / 1.183 GB, free: 8.477 MB / 0.7325 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.5171/2.603, allocations: 27.92 MB / 1.211 GB, free: 356.8 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.603, allocations: 9.812 kB / 1.211 GB, free: 356.8 MB / 0.7483 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01726/2.62, allocations: 3.981 MB / 1.214 GB, free: 356.6 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04146/2.662, allocations: 7.971 MB / 1.222 GB, free: 355 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05549/2.717, allocations: 28.04 MB / 1.25 GB, free: 349 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001633/2.719, allocations: 1.807 MB / 1.251 GB, free: 348.2 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01208/2.731, allocations: 2.442 MB / 1.254 GB, free: 347.5 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1375/2.869, allocations: 60.52 MB / 1.313 GB, free: 292.3 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001473/2.87, allocations: 236.1 kB / 1.313 GB, free: 292.1 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01073/2.881, allocations: 1.048 MB / 1.314 GB, free: 291.1 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009311/2.89, allocations: 6.894 MB / 1.321 GB, free: 284.2 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09944/2.99, allocations: 50.87 MB / 1.371 GB, free: 233.4 MB / 0.7483 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.6116/3.601, allocations: 247.6 MB / 1.612 GB, free: 270.6 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06469/3.666, allocations: 29.36 MB / 1.641 GB, free: 269.5 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02293/3.689, allocations: 18.1 MB / 1.659 GB, free: 269.4 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/3.691, allocations: 1.3 MB / 1.66 GB, free: 268.6 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05778/3.748, allocations: 21.46 MB / 1.681 GB, free: 268.2 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 1.934e-05/3.748, allocations: 0 / 1.681 GB, free: 268.2 MB / 0.7483 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed