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.07803/0.07803, allocations: 12.03 MB / 27.3 MB, free: 1.535 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.0008023/0.0008023, allocations: 98.41 kB / 31.05 MB, free: 6.34 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.002173/0.002173, allocations: 178.4 kB / 34.9 MB, free: 2.531 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.571/1.571, allocations: 223.2 MB / 261.9 MB, free: 5.223 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06449/0.06449, allocations: 13.7 MB / 329.6 MB, free: 6.09 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.02302/0.02302, allocations: 17.38 MB / 415.6 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5691, allocations: 56.47 MB / 472 MB, free: 50.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 1.239/1.808, allocations: 405 MB / 0.8565 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2451/2.053, allocations: 80.6 MB / 0.9352 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1185/2.172, allocations: 1.804 MB / 0.937 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.009842/2.182, allocations: 2.185 MB / 0.9391 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02549/2.207, allocations: 7.521 MB / 0.9465 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01414/2.221, allocations: 4.962 MB / 0.9513 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05564/2.277, allocations: 39 MB / 0.9894 GB, free: 3.484 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7098/2.987, allocations: 56.14 MB / 1.044 GB, free: 19.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02201/3.009, allocations: 7.386 MB / 1.051 GB, free: 19.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02942/3.038, allocations: 12.18 MB / 1.063 GB, free: 18.87 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008825/3.047, allocations: 0.9706 MB / 1.064 GB, free: 18.87 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/3.067, allocations: 2.397 MB / 1.067 GB, free: 18.87 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02389/3.09, allocations: 11.15 MB / 1.078 GB, free: 17.75 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.03477/3.125, allocations: 12.78 MB / 1.09 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.1117/3.237, allocations: 57.71 MB / 1.146 GB, free: 13.05 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/3.237, allocations: 0 / 1.146 GB, free: 13.05 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.916e-06/3.237, allocations: 0 / 1.146 GB, free: 13.05 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002492/3.24, allocations: 0 / 1.146 GB, free: 13.05 MB / 0.6857 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.1042/3.344, allocations: 27.3 MB / 1.173 GB, free: 10.91 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/3.344, allocations: 10 kB / 1.173 GB, free: 10.91 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03483/3.379, allocations: 5.881 MB / 1.179 GB, free: 5.945 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0535/3.432, allocations: 20.73 MB / 1.199 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002381/3.435, allocations: 1.791 MB / 1.201 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01618/3.451, allocations: 2.445 MB / 1.203 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1851/3.636, allocations: 57.31 MB / 1.259 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00297/3.639, allocations: 231.1 kB / 1.259 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01635/3.655, allocations: 1.055 MB / 1.26 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01347/3.669, allocations: 6.492 MB / 1.267 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1244/3.793, allocations: 47.57 MB / 1.313 GB, free: 12.38 MB / 0.8419 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.7607/4.554, allocations: 225.8 MB / 1.534 GB, free: 278.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06852/4.623, allocations: 27.9 MB / 1.561 GB, free: 250.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02274/4.646, allocations: 16.82 MB / 1.577 GB, free: 233.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/4.648, allocations: 1.296 MB / 1.579 GB, free: 231.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06484/4.713, allocations: 20.51 MB / 1.599 GB, free: 211.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=891): time 2.916e-05/4.713, allocations: 0 / 1.599 GB, free: 211.3 MB / 0.8419 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: 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/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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed