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-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: 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-master/package.mo): time 0.08784/0.08784, allocations: 12.05 MB / 28.21 MB, free: 1.594 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.001105/0.001105, allocations: 107.9 kB / 31.93 MB, free: 4.516 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.001421/0.001421, allocations: 196.4 kB / 35.77 MB, free: 0.6992 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.46/1.46, allocations: 222.9 MB / 262.3 MB, free: 10.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1851/0.1851, allocations: 13.67 MB / 329 MB, free: 2.656 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.03135/0.03135, allocations: 19.59 MB / 416.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5832, allocations: 55.38 MB / 471.7 MB, free: 53.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.04486/0.6281, allocations: 60.61 MB / 0.5199 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03692/0.6651, allocations: 16.29 MB / 0.5358 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01921/0.6843, allocations: 0.4929 MB / 0.5363 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0564/0.7408, allocations: 31.12 MB / 0.5667 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02414/0.765, allocations: 7.833 MB / 0.5743 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01175/0.7768, allocations: 5.359 MB / 0.5795 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03698/0.8138, allocations: 26.77 MB / 0.6057 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5839/1.398, allocations: 43.93 MB / 0.6486 GB, free: 26.52 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02257/1.42, allocations: 12.93 MB / 0.6612 GB, free: 26.21 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02879/1.449, allocations: 16.04 MB / 0.6769 GB, free: 24.98 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 0.01673/1.466, allocations: 4.056 MB / 0.6808 GB, free: 24.98 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02019/1.486, allocations: 5.38 MB / 0.6861 GB, free: 24.98 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.02344/1.51, allocations: 14.88 MB / 0.7006 GB, free: 22.7 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.03262/1.542, allocations: 17.23 MB / 0.7174 GB, free: 10.37 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.06641/1.609, allocations: 57.88 MB / 0.774 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/1.609, allocations: 0 / 0.774 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.835e-06/1.609, allocations: 3.469 kB / 0.774 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.001895/1.611, allocations: 2.406 kB / 0.774 GB, free: 9.41 MB / 0.5139 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.1038/1.714, allocations: 33.85 MB / 0.807 GB, free: 7.762 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.715, allocations: 11.31 kB / 0.807 GB, free: 7.754 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02916/1.744, allocations: 5.777 MB / 0.8127 GB, free: 1.949 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04245/1.786, allocations: 20.73 MB / 0.8329 GB, free: 14.11 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001849/1.788, allocations: 1.799 MB / 0.8347 GB, free: 12.4 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01008/1.798, allocations: 2.438 MB / 0.8371 GB, free: 10.05 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.359/2.157, allocations: 57.12 MB / 0.8928 GB, free: 161.2 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001934/2.159, allocations: 230.2 kB / 0.8931 GB, free: 161.1 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01129/2.17, allocations: 1.052 MB / 0.8941 GB, free: 160.4 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01403/2.185, allocations: 6.491 MB / 0.9004 GB, free: 159 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1027/2.287, allocations: 47.37 MB / 0.9467 GB, free: 127.6 MB / 0.5764 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.5789/2.866, allocations: 226.2 MB / 1.168 GB, free: 65.61 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06896/2.935, allocations: 27.73 MB / 1.195 GB, free: 58.33 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0207/2.956, allocations: 16.78 MB / 1.211 GB, free: 50.54 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/2.958, allocations: 1.292 MB / 1.212 GB, free: 49.59 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05931/3.017, allocations: 20.42 MB / 1.232 GB, free: 43.93 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=891): time 2.268e-05/3.017, allocations: 0 / 1.232 GB, free: 43.93 MB / 0.5764 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed