Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.chassisTest.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.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",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.06159/0.06159, allocations: 12.04 MB / 27.54 MB, free: 1.492 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.001094/0.001094, allocations: 109.6 kB / 31.25 MB, free: 4.582 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.001423/0.001423, 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.444/1.444, allocations: 222.9 MB / 261.7 MB, free: 28 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06265/0.06265, allocations: 13.68 MB / 328.4 MB, free: 1.098 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.03003/0.03003, allocations: 19.63 MB / 415.8 MB, free: 25.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1664, allocations: 55.4 MB / 471.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 0.3951/0.5615, allocations: 57.62 MB / 0.5164 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04263/0.6042, allocations: 15.17 MB / 0.5313 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01883/0.6231, allocations: 484.9 kB / 0.5317 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0548/0.6779, allocations: 30.34 MB / 0.5614 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02653/0.7047, allocations: 7.542 MB / 0.5687 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0149/0.7196, allocations: 4.786 MB / 0.5734 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04657/0.7662, allocations: 25.26 MB / 0.5981 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0792/0.8455, allocations: 42 MB / 0.6391 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02706/0.8726, allocations: 12.23 MB / 0.651 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02919/0.9018, allocations: 15.2 MB / 0.6659 GB, free: 3.918 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01179/0.9136, allocations: 3.832 MB / 0.6696 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/0.9304, allocations: 4.984 MB / 0.6745 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02803/0.9585, allocations: 14.21 MB / 0.6883 GB, free: 12.97 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.6341/1.593, allocations: 16.39 MB / 0.7044 GB, free: 67.96 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.08577/1.678, allocations: 55.58 MB / 0.7586 GB, free: 57.45 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.679, allocations: 0.875 kB / 0.7586 GB, free: 57.45 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.275e-06/1.679, allocations: 0 / 0.7586 GB, free: 57.45 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002812/1.681, allocations: 0 / 0.7586 GB, free: 57.45 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: 7595 * Number of variables: 7595 Notification: Performance of Generate backend data structure: time 0.1437/1.825, allocations: 30.5 MB / 0.7884 GB, free: 38.34 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/1.825, allocations: 7.344 kB / 0.7884 GB, free: 38.34 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02044/1.846, allocations: 3.767 MB / 0.7921 GB, free: 35.83 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04751/1.893, allocations: 7.516 MB / 0.7994 GB, free: 32.11 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05562/1.949, allocations: 24.23 MB / 0.8231 GB, free: 14.88 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001504/1.95, allocations: 1.688 MB / 0.8248 GB, free: 13.27 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01388/1.964, allocations: 2.306 MB / 0.827 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1669/2.131, allocations: 54.41 MB / 0.8801 GB, free: 3.121 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002944/2.134, allocations: 230.7 kB / 0.8804 GB, free: 2.961 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01501/2.149, allocations: 0.9896 MB / 0.8813 GB, free: 2.055 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0126/2.162, allocations: 6.307 MB / 0.8875 GB, free: 11.83 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4774/2.639, allocations: 45.19 MB / 0.9316 GB, free: 178.8 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.7362/3.375, allocations: 214.6 MB / 1.141 GB, free: 147.2 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07024/3.446, allocations: 25.43 MB / 1.166 GB, free: 146.1 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02256/3.468, allocations: 16.06 MB / 1.182 GB, free: 146.1 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/3.47, allocations: 0.9629 MB / 1.183 GB, free: 145.5 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.084e-05/3.47, allocations: 119.4 kB / 1.183 GB, free: 145.4 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=761): time 1.02e-05/3.47, allocations: 0 / 1.183 GB, free: 145.4 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