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.0648/0.0648, allocations: 12.01 MB / 27.24 MB, free: 2.125 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.001116/0.001116, allocations: 109.3 kB / 30.94 MB, free: 5.273 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.001477/0.001477, allocations: 196 kB / 34.74 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.432/1.432, allocations: 222.9 MB / 261.3 MB, free: 8.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05962/0.05962, allocations: 13.67 MB / 328 MB, free: 0.6523 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.02584/0.02584, allocations: 18.41 MB / 413.9 MB, free: 27.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1516, allocations: 55.41 MB / 469.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 1.083/1.235, allocations: 413.7 MB / 0.8624 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2388/1.474, allocations: 80.59 MB / 0.9411 GB, free: 0.6641 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6394/2.113, allocations: 1.807 MB / 0.9428 GB, free: 1.25 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0537/2.167, allocations: 30.27 MB / 0.9724 GB, free: 0.8164 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02817/2.195, allocations: 7.302 MB / 0.9795 GB, free: 312 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01401/2.209, allocations: 5.086 MB / 0.9845 GB, free: 208 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04959/2.259, allocations: 27.06 MB / 1.011 GB, free: 14.14 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08306/2.342, allocations: 46.16 MB / 1.056 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02906/2.371, allocations: 13.16 MB / 1.069 GB, free: 7.719 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02704/2.398, allocations: 17.46 MB / 1.086 GB, free: 7.812 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01722/2.416, allocations: 4.055 MB / 1.09 GB, free: 3.758 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01728/2.433, allocations: 5.406 MB / 1.095 GB, free: 14.48 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02336/2.456, allocations: 15.01 MB / 1.11 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03874/2.495, allocations: 17.3 MB / 1.127 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07893/2.574, allocations: 57.99 MB / 1.183 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/2.574, allocations: 0 / 1.183 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.635e-06/2.574, allocations: 4 kB / 1.183 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002377/2.576, allocations: 0 / 1.183 GB, free: 5.094 MB / 0.7794 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.1091/2.686, allocations: 33.86 MB / 1.216 GB, free: 3.316 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/2.686, allocations: 8.031 kB / 1.216 GB, free: 3.309 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02946/2.715, allocations: 5.779 MB / 1.222 GB, free: 13.49 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5378/3.253, allocations: 20.72 MB / 1.242 GB, free: 445.4 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002668/3.256, allocations: 1.799 MB / 1.244 GB, free: 445.4 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01158/3.267, allocations: 2.44 MB / 1.246 GB, free: 445.4 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1328/3.4, allocations: 57.13 MB / 1.302 GB, free: 415.6 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001796/3.402, allocations: 235.3 kB / 1.302 GB, free: 415.5 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01092/3.413, allocations: 1.048 MB / 1.303 GB, free: 414.6 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01044/3.423, allocations: 6.495 MB / 1.31 GB, free: 408.1 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09538/3.519, allocations: 47.37 MB / 1.356 GB, free: 360.9 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.3124/3.831, allocations: 226.2 MB / 1.577 GB, free: 132.8 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06639/3.898, allocations: 27.75 MB / 1.604 GB, free: 105 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01979/3.917, allocations: 16.79 MB / 1.62 GB, free: 88.17 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002259/3.92, allocations: 1.296 MB / 1.622 GB, free: 86.76 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05793/3.978, allocations: 20.42 MB / 1.642 GB, free: 66.26 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 2.791e-05/3.978, allocations: 0 / 1.642 GB, free: 66.26 MB / 0.8264 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed