Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",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.06681/0.06681, 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.001068/0.001068, allocations: 107.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.001301/0.001301, 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.396/1.396, allocations: 222.9 MB / 261.6 MB, free: 36 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05989/0.05989, allocations: 13.69 MB / 328.4 MB, free: 3.707 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.03036/0.03036, allocations: 19.59 MB / 415.8 MB, free: 25.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1392, allocations: 55.42 MB / 471.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.3253/0.4646, allocations: 57.31 MB / 0.5161 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04169/0.5063, allocations: 16.56 MB / 0.5323 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01966/0.526, allocations: 476.9 kB / 0.5327 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04719/0.5733, allocations: 24.82 MB / 0.557 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0333/0.6067, allocations: 8.355 MB / 0.5651 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.6233, allocations: 5.651 MB / 0.5706 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04789/0.6712, allocations: 28.52 MB / 0.5985 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07548/0.7467, allocations: 39.68 MB / 0.6373 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03131/0.7781, allocations: 12.35 MB / 0.6493 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02859/0.8067, allocations: 15.2 MB / 0.6642 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01401/0.8208, allocations: 3.973 MB / 0.668 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01969/0.8405, allocations: 5.858 MB / 0.6738 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02593/0.8665, allocations: 14.34 MB / 0.6878 GB, free: 11.8 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.6244/1.491, allocations: 17.25 MB / 0.7046 GB, free: 65.77 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.09052/1.582, allocations: 58.4 MB / 0.7616 GB, free: 54.57 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/1.582, allocations: 0 / 0.7616 GB, free: 54.57 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.527e-06/1.582, allocations: 0 / 0.7616 GB, free: 54.57 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002945/1.585, allocations: 0 / 0.7616 GB, free: 54.57 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: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.1472/1.732, allocations: 33.12 MB / 0.794 GB, free: 32.15 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.732, allocations: 7.875 kB / 0.794 GB, free: 32.15 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02809/1.76, allocations: 3.874 MB / 0.7978 GB, free: 29.61 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05148/1.811, allocations: 7.977 MB / 0.8055 GB, free: 25.56 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05406/1.866, allocations: 25.74 MB / 0.8307 GB, free: 5.246 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00146/1.867, allocations: 1.631 MB / 0.8323 GB, free: 3.734 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01303/1.88, allocations: 2.215 MB / 0.8344 GB, free: 1.641 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1808/2.061, allocations: 59.67 MB / 0.8927 GB, free: 4.125 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002044/2.063, allocations: 245.5 kB / 0.8929 GB, free: 3.965 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01412/2.077, allocations: 0.9731 MB / 0.8939 GB, free: 3.113 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.017/2.094, allocations: 8.449 MB / 0.9021 GB, free: 10.76 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4219/2.516, allocations: 48.01 MB / 0.949 GB, free: 172.6 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.7273/3.243, allocations: 248 MB / 1.191 GB, free: 56.59 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07274/3.316, allocations: 27.75 MB / 1.218 GB, free: 55.6 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02641/3.343, allocations: 17.45 MB / 1.235 GB, free: 55.53 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00309/3.346, allocations: 2.603 MB / 1.238 GB, free: 53.52 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06469/3.411, allocations: 20.8 MB / 1.258 GB, free: 48.86 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=838): time 2.226e-05/3.411, allocations: 2.406 kB / 1.258 GB, free: 48.86 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: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.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