Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput.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_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",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.06955/0.06955, allocations: 12.03 MB / 27.53 MB, free: 1.383 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.001021/0.001021, allocations: 112.8 kB / 31.24 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.001224/0.001224, allocations: 192.5 kB / 35.07 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.374/1.374, allocations: 222.9 MB / 261.6 MB, free: 48 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06167/0.06167, allocations: 13.68 MB / 328.4 MB, free: 3.734 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.03054/0.03054, allocations: 19.59 MB / 415.8 MB, free: 24.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.152, allocations: 55.42 MB / 471.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.3631/0.5151, allocations: 54.86 MB / 0.5137 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03923/0.5544, allocations: 15.63 MB / 0.529 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01747/0.572, allocations: 455.6 kB / 0.5294 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04506/0.6171, allocations: 24.69 MB / 0.5535 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0275/0.6447, allocations: 8.086 MB / 0.5614 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.6595, allocations: 5.336 MB / 0.5666 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04202/0.7016, allocations: 27.84 MB / 0.5938 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06487/0.7665, allocations: 38.99 MB / 0.6319 GB, free: 2.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02486/0.7914, allocations: 12.1 MB / 0.6437 GB, free: 6.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02683/0.8183, allocations: 14.94 MB / 0.6583 GB, free: 8.664 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01642/0.8347, allocations: 3.902 MB / 0.6621 GB, free: 4.762 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01858/0.8534, allocations: 5.131 MB / 0.6671 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02069/0.8741, allocations: 14.19 MB / 0.681 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03621/0.9103, allocations: 16.92 MB / 0.6975 GB, free: 0.5898 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.6909/1.601, allocations: 57.25 MB / 0.7534 GB, free: 58.46 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/1.601, allocations: 2.656 kB / 0.7534 GB, free: 58.46 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.856e-06/1.601, allocations: 5.25 kB / 0.7534 GB, free: 58.46 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002468/1.604, allocations: 3.562 kB / 0.7534 GB, free: 58.46 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: 7901 * Number of variables: 7901 Notification: Performance of Generate backend data structure: time 0.1345/1.738, allocations: 32.39 MB / 0.785 GB, free: 39.7 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.738, allocations: 11.44 kB / 0.7851 GB, free: 39.7 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02423/1.763, allocations: 3.82 MB / 0.7888 GB, free: 37.19 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05011/1.813, allocations: 7.904 MB / 0.7965 GB, free: 33.18 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05589/1.869, allocations: 25.38 MB / 0.8213 GB, free: 14.33 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/1.87, allocations: 1.595 MB / 0.8228 GB, free: 12.86 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01255/1.883, allocations: 2.166 MB / 0.825 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1723/2.055, allocations: 59.17 MB / 0.8827 GB, free: 13.85 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002139/2.057, allocations: 245.2 kB / 0.883 GB, free: 13.69 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01498/2.072, allocations: 0.9563 MB / 0.8839 GB, free: 12.85 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01628/2.089, allocations: 8.431 MB / 0.8921 GB, free: 4.523 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4939/2.582, allocations: 47.71 MB / 0.9387 GB, free: 174.3 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.8036/3.386, allocations: 245.6 MB / 1.179 GB, free: 60.19 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06988/3.456, allocations: 27.2 MB / 1.205 GB, free: 59.26 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02619/3.482, allocations: 17.29 MB / 1.222 GB, free: 59.19 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003164/3.486, allocations: 2.605 MB / 1.225 GB, free: 57.19 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06314/3.549, allocations: 20.55 MB / 1.245 GB, free: 53.34 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=788): time 1.999e-05/3.549, allocations: 0 / 1.245 GB, free: 53.34 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