Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06406/0.06406, allocations: 12.04 MB / 28.21 MB, free: 1.805 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.001014/0.001014, allocations: 99.98 kB / 31.92 MB, free: 4.684 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.001547/0.001547, allocations: 196.4 kB / 35.75 MB, free: 0.8672 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.378/1.378, allocations: 222.9 MB / 262.3 MB, free: 16 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05978/0.05978, allocations: 13.68 MB / 329 MB, free: 3.723 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.0286/0.0286, allocations: 19.58 MB / 416.3 MB, free: 25.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1347, allocations: 55.42 MB / 471.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.2865/0.4212, allocations: 61.05 MB / 0.5203 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03735/0.4586, allocations: 16.41 MB / 0.5364 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01835/0.477, allocations: 0.5 MB / 0.5368 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04946/0.5266, allocations: 31.13 MB / 0.5672 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02455/0.5511, allocations: 7.865 MB / 0.5749 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01376/0.5649, allocations: 5.411 MB / 0.5802 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03857/0.6035, allocations: 26.93 MB / 0.6065 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05944/0.663, allocations: 44.11 MB / 0.6496 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02362/0.6867, allocations: 12.99 MB / 0.6623 GB, free: 9.516 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02553/0.7122, allocations: 16.12 MB / 0.678 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01049/0.7227, allocations: 4.07 MB / 0.682 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.738, allocations: 5.398 MB / 0.6873 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02031/0.7584, allocations: 14.91 MB / 0.7018 GB, free: 1.941 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2819/1.04, allocations: 17.29 MB / 0.7187 GB, free: 60.47 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.06435/1.105, allocations: 58.05 MB / 0.7754 GB, free: 42.8 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.105, allocations: 0 / 0.7754 GB, free: 42.8 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.152e-06/1.105, allocations: 0 / 0.7754 GB, free: 42.8 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001964/1.107, allocations: 0 / 0.7754 GB, free: 42.8 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.1002/1.207, allocations: 34.03 MB / 0.8086 GB, free: 20.32 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/1.207, allocations: 9.75 kB / 0.8086 GB, free: 20.32 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02875/1.236, allocations: 5.788 MB / 0.8143 GB, free: 17.41 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03851/1.274, allocations: 20.8 MB / 0.8346 GB, free: 1.648 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001347/1.276, allocations: 1.799 MB / 0.8364 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01241/1.288, allocations: 2.449 MB / 0.8387 GB, free: 13.57 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1439/1.432, allocations: 57.24 MB / 0.8946 GB, free: 2.754 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002097/1.434, allocations: 234.6 kB / 0.8949 GB, free: 2.594 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009706/1.444, allocations: 1.053 MB / 0.8959 GB, free: 1.629 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01156/1.455, allocations: 6.495 MB / 0.9022 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3794/1.835, allocations: 47.51 MB / 0.9486 GB, free: 170.7 MB / 0.5763 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.6114/2.446, allocations: 226.6 MB / 1.17 GB, free: 68.83 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07016/2.517, allocations: 27.87 MB / 1.197 GB, free: 67.73 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02137/2.538, allocations: 16.89 MB / 1.214 GB, free: 67.62 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/2.54, allocations: 1.298 MB / 1.215 GB, free: 66.75 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06109/2.601, allocations: 20.52 MB / 1.235 GB, free: 66.43 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=901): time 2.291e-05/2.601, allocations: 0 / 1.235 GB, free: 66.43 MB / 0.5763 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