Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.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_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.07342/0.07343, allocations: 12.04 MB / 27.97 MB, free: 2.195 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.0007667/0.0007666, allocations: 87.98 kB / 31.7 MB, free: 5.344 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.001285/0.001285, allocations: 180.4 kB / 35.56 MB, free: 1.5 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.388/1.388, allocations: 223.2 MB / 262.5 MB, free: 9.527 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05804/0.05804, allocations: 13.69 MB / 330.3 MB, free: 328 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.01656/0.01656, allocations: 17.39 MB / 416.2 MB, free: 27.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.136, allocations: 56.48 MB / 472.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.9705/1.107, allocations: 405 MB / 0.8571 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6959/1.803, allocations: 80.59 MB / 0.9358 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.107/1.91, allocations: 1.802 MB / 0.9376 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0121/1.922, allocations: 2.182 MB / 0.9397 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0263/1.948, allocations: 7.527 MB / 0.9471 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01483/1.963, allocations: 4.958 MB / 0.9519 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07297/2.036, allocations: 40.35 MB / 0.9913 GB, free: 0 / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09329/2.129, allocations: 56.17 MB / 1.046 GB, free: 2.211 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02012/2.149, allocations: 7.391 MB / 1.053 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02407/2.174, allocations: 12.17 MB / 1.065 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006406/2.18, allocations: 0.9688 MB / 1.066 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/2.191, allocations: 2.403 MB / 1.069 GB, free: 15.05 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01813/2.209, allocations: 11.15 MB / 1.079 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.025/2.235, allocations: 12.78 MB / 1.092 GB, free: 7.195 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.05494/2.289, allocations: 48.17 MB / 1.139 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/2.29, allocations: 5.969 kB / 1.139 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.344e-06/2.29, allocations: 0 / 1.139 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002192/2.292, allocations: 0 / 1.139 GB, free: 7.828 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: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.07519/2.367, allocations: 27.3 MB / 1.166 GB, free: 12.41 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/2.367, allocations: 15.97 kB / 1.166 GB, free: 12.4 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02932/2.396, allocations: 5.877 MB / 1.171 GB, free: 6.484 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04522/2.442, allocations: 20.74 MB / 1.192 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001648/2.443, allocations: 1.791 MB / 1.193 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01033/2.454, allocations: 2.435 MB / 1.196 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6306/3.084, allocations: 57.31 MB / 1.252 GB, free: 411.6 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002049/3.086, allocations: 229.6 kB / 1.252 GB, free: 411.5 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008889/3.095, allocations: 1.055 MB / 1.253 GB, free: 410.8 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01126/3.107, allocations: 6.49 MB / 1.259 GB, free: 408.9 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09572/3.202, allocations: 47.58 MB / 1.306 GB, free: 384.2 MB / 0.8108 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.2905/3.493, allocations: 225.8 MB / 1.526 GB, free: 156.8 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06412/3.557, allocations: 27.9 MB / 1.554 GB, free: 128.8 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02032/3.577, allocations: 16.82 MB / 1.57 GB, free: 111.9 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/3.579, allocations: 1.296 MB / 1.571 GB, free: 110.5 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05935/3.639, allocations: 20.52 MB / 1.591 GB, free: 89.89 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=891): time 2.542e-05/3.639, allocations: 0 / 1.591 GB, free: 89.89 MB / 0.8108 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed