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.06672/0.06672, allocations: 12 MB / 27.24 MB, free: 2.129 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.0009674/0.0009675, allocations: 111.8 kB / 30.94 MB, free: 5.277 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.001155/0.001155, allocations: 196.4 kB / 34.75 MB, free: 1.48 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.485/1.485, allocations: 222.9 MB / 261.3 MB, free: 8.523 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.056/0.056, allocations: 13.67 MB / 328 MB, free: 0.6641 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.02287/0.02287, allocations: 18.42 MB / 413.9 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1473, allocations: 55.42 MB / 469.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 1.007/1.154, allocations: 414 MB / 0.8626 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7171/1.871, allocations: 85.31 MB / 0.9459 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1229/1.994, allocations: 1.809 MB / 0.9477 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05061/2.045, allocations: 30.36 MB / 0.9773 GB, free: 0.6875 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02579/2.071, allocations: 7.521 MB / 0.9847 GB, free: 172 kB / 0.6232 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.01504/2.086, allocations: 5.711 MB / 0.9903 GB, free: 60 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.05816/2.144, allocations: 29.16 MB / 1.019 GB, free: 14.39 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09113/2.235, allocations: 50.75 MB / 1.068 GB, free: 8.094 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03072/2.266, allocations: 13.99 MB / 1.082 GB, free: 12.13 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03555/2.302, allocations: 18.04 MB / 1.1 GB, free: 11.52 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01566/2.317, allocations: 4.891 MB / 1.104 GB, free: 6.633 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01933/2.337, allocations: 6.32 MB / 1.111 GB, free: 464 kB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02704/2.364, allocations: 15.87 MB / 1.126 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04153/2.405, allocations: 18.88 MB / 1.144 GB, free: 13.78 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.08316/2.489, allocations: 65.43 MB / 1.208 GB, free: 13.2 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/2.489, allocations: 0 / 1.208 GB, free: 13.2 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.783e-06/2.489, allocations: 0 / 1.208 GB, free: 13.2 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.00246/2.491, allocations: 3.984 kB / 1.208 GB, free: 13.19 MB / 0.8107 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 1.049/3.54, allocations: 34.61 MB / 1.242 GB, free: 133.8 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/3.54, allocations: 9.562 kB / 1.242 GB, free: 133.8 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02955/3.57, allocations: 5.86 MB / 1.248 GB, free: 132.2 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04899/3.619, allocations: 23.88 MB / 1.271 GB, free: 129.6 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003255/3.622, allocations: 1.797 MB / 1.273 GB, free: 129.6 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0124/3.634, allocations: 2.458 MB / 1.275 GB, free: 129.5 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1405/3.775, allocations: 60.61 MB / 1.335 GB, free: 105.4 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001772/3.777, allocations: 239.9 kB / 1.335 GB, free: 105.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009363/3.786, allocations: 1.047 MB / 1.336 GB, free: 104.3 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00953/3.796, allocations: 6.89 MB / 1.343 GB, free: 97.45 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09408/3.89, allocations: 51.02 MB / 1.392 GB, free: 47.04 MB / 0.8264 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.6903/4.58, allocations: 248.6 MB / 1.635 GB, free: 437.6 MB / 0.967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06466/4.645, allocations: 29.32 MB / 1.664 GB, free: 436.5 MB / 0.967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02139/4.666, allocations: 18.18 MB / 1.682 GB, free: 435.1 MB / 0.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/4.668, allocations: 1.303 MB / 1.683 GB, free: 434.1 MB / 0.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06005/4.728, allocations: 21.45 MB / 1.704 GB, free: 427.8 MB / 0.967 GB Notification: Performance of pre-optimization done (n=901): time 3.328e-05/4.728, allocations: 0.9375 kB / 1.704 GB, free: 427.8 MB / 0.967 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed