Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06732/0.06732, allocations: 12.03 MB / 27.53 MB, free: 1.961 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.001043/0.001043, allocations: 103.8 kB / 31.23 MB, free: 5.062 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.001172/0.001172, allocations: 196.4 kB / 35.07 MB, free: 1.242 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.436/1.436, allocations: 222.9 MB / 261.6 MB, free: 52 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06035/0.06035, allocations: 13.67 MB / 328.4 MB, free: 3.715 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.02666/0.02666, allocations: 19.59 MB / 415.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1392, allocations: 55.41 MB / 471.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.359/0.4983, allocations: 61.05 MB / 0.5198 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04557/0.5439, allocations: 16.42 MB / 0.5358 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01889/0.5628, allocations: 0.4945 MB / 0.5363 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05125/0.6141, allocations: 31.13 MB / 0.5667 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02548/0.6397, allocations: 7.858 MB / 0.5743 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01462/0.6544, allocations: 5.426 MB / 0.5796 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04099/0.6954, allocations: 26.94 MB / 0.6059 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06814/0.7636, allocations: 44.05 MB / 0.649 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02617/0.7898, allocations: 12.99 MB / 0.6616 GB, free: 9.516 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.027/0.8168, allocations: 16.12 MB / 0.6774 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01277/0.8296, allocations: 4.07 MB / 0.6814 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01858/0.8482, allocations: 5.394 MB / 0.6866 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02613/0.8744, allocations: 14.91 MB / 0.7012 GB, free: 1.918 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.3814/1.256, allocations: 17.38 MB / 0.7182 GB, free: 60.27 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.08032/1.336, allocations: 58.3 MB / 0.7751 GB, free: 42.42 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/1.336, allocations: 3.188 kB / 0.7751 GB, free: 42.42 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.973e-06/1.336, allocations: 4.594 kB / 0.7751 GB, free: 42.42 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002619/1.339, allocations: 0 / 0.7751 GB, free: 42.42 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.1354/1.474, allocations: 34.28 MB / 0.8086 GB, free: 19.79 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.474, allocations: 11.66 kB / 0.8086 GB, free: 19.79 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02493/1.499, allocations: 3.976 MB / 0.8125 GB, free: 17.13 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04653/1.546, allocations: 7.726 MB / 0.82 GB, free: 13.3 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05982/1.606, allocations: 25.12 MB / 0.8446 GB, free: 7.102 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002142/1.608, allocations: 1.805 MB / 0.8463 GB, free: 5.383 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01508/1.623, allocations: 2.451 MB / 0.8487 GB, free: 3.016 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1636/1.787, allocations: 57.17 MB / 0.9045 GB, free: 8.27 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002692/1.789, allocations: 227 kB / 0.9048 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01388/1.803, allocations: 1.051 MB / 0.9058 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01191/1.815, allocations: 6.491 MB / 0.9121 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3902/2.206, allocations: 47.37 MB / 0.9584 GB, free: 172.8 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.6984/2.904, allocations: 226.1 MB / 1.179 GB, free: 71.94 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07163/2.976, allocations: 27.81 MB / 1.206 GB, free: 70.84 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02405/3, allocations: 16.81 MB / 1.223 GB, free: 70.73 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/3.002, allocations: 1.298 MB / 1.224 GB, free: 69.86 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06623/3.068, allocations: 20.44 MB / 1.244 GB, free: 65.01 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=901): time 2.268e-05/3.068, allocations: 0 / 1.244 GB, free: 65.01 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