Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.simpleHoverTest.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.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",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.07523/0.07523, allocations: 12.04 MB / 27.54 MB, free: 1.488 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.001487/0.001487, allocations: 117.6 kB / 31.25 MB, free: 4.578 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.002084/0.002085, allocations: 196.4 kB / 35.08 MB, free: 0.7617 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.465/1.465, allocations: 222.9 MB / 261.6 MB, free: 12 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05969/0.05969, allocations: 13.69 MB / 328.4 MB, free: 1.121 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.03104/0.03104, allocations: 19.63 MB / 415.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1687, allocations: 55.41 MB / 471.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.392/0.5607, allocations: 57.92 MB / 0.5167 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04493/0.6057, allocations: 15.28 MB / 0.5317 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02062/0.6264, allocations: 484.2 kB / 0.5321 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05148/0.6779, allocations: 30.36 MB / 0.5618 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02388/0.7019, allocations: 7.56 MB / 0.5692 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.716, allocations: 4.827 MB / 0.5739 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04193/0.7579, allocations: 25.37 MB / 0.5987 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07379/0.8317, allocations: 42.14 MB / 0.6398 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02747/0.8593, allocations: 12.28 MB / 0.6518 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02978/0.8891, allocations: 15.24 MB / 0.6667 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01243/0.9015, allocations: 3.844 MB / 0.6704 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0172/0.9188, allocations: 4.993 MB / 0.6753 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02463/0.9434, allocations: 14.24 MB / 0.6892 GB, free: 12.29 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.6585/1.602, allocations: 16.43 MB / 0.7053 GB, free: 67.25 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.07293/1.675, allocations: 55.69 MB / 0.7597 GB, free: 56.59 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.675, allocations: 0 / 0.7597 GB, free: 56.59 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.367e-06/1.675, allocations: 0 / 0.7597 GB, free: 56.59 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.00242/1.677, allocations: 3.938 kB / 0.7597 GB, free: 56.59 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7613 * Number of variables: 7613 Notification: Performance of Generate backend data structure: time 0.1294/1.807, allocations: 30.61 MB / 0.7895 GB, free: 36.98 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.807, allocations: 7.531 kB / 0.7896 GB, free: 36.98 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02118/1.828, allocations: 3.772 MB / 0.7932 GB, free: 34.46 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04589/1.874, allocations: 7.533 MB / 0.8006 GB, free: 30.73 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05002/1.924, allocations: 24.29 MB / 0.8243 GB, free: 13.66 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/1.926, allocations: 1.692 MB / 0.826 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01685/1.943, allocations: 2.315 MB / 0.8282 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1702/2.113, allocations: 54.57 MB / 0.8815 GB, free: 1.727 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002051/2.115, allocations: 233 kB / 0.8817 GB, free: 1.566 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01303/2.128, allocations: 0.9898 MB / 0.8827 GB, free: 0.6602 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01132/2.139, allocations: 6.319 MB / 0.8889 GB, free: 10.42 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4815/2.621, allocations: 45.32 MB / 0.9331 GB, free: 178.4 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.7413/3.362, allocations: 215.1 MB / 1.143 GB, free: 141.2 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07114/3.433, allocations: 25.84 MB / 1.168 GB, free: 140.2 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02321/3.457, allocations: 16.1 MB / 1.184 GB, free: 140.1 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001913/3.459, allocations: 1.276 MB / 1.185 GB, free: 139.2 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.398e-05/3.459, allocations: 116.5 kB / 1.186 GB, free: 139.2 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=765): time 1.099e-05/3.459, allocations: 0 / 1.186 GB, free: 139.2 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 * propellerRev2.Airframe.R.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