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/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/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/package.mo): time 0.06531/0.06531, allocations: 12.04 MB / 27.02 MB, free: 2.344 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.0006961/0.0006962, allocations: 98.52 kB / 30.74 MB, free: 5.566 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.0009742/0.0009743, allocations: 176.5 kB / 34.57 MB, free: 1.746 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.407/1.407, allocations: 223.2 MB / 261.5 MB, free: 9.172 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05528/0.05528, allocations: 13.7 MB / 329.3 MB, free: 36 kB / 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.01595/0.01596, allocations: 17.46 MB / 415.1 MB, free: 28.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1275, allocations: 56.48 MB / 471.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.8289/0.9564, allocations: 322.1 MB / 0.7751 GB, free: 60 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.1319/1.088, allocations: 69.12 MB / 0.8426 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0675/1.156, allocations: 1.562 MB / 0.8441 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.05178/1.208, allocations: 17.03 MB / 0.8607 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.1366/1.344, allocations: 48.18 MB / 0.9078 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02191/1.366, allocations: 4.139 MB / 0.9118 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.5087/1.875, allocations: 59.62 MB / 0.97 GB, free: 28.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06161/1.937, allocations: 41.64 MB / 1.011 GB, free: 24.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/1.953, allocations: 7.902 MB / 1.018 GB, free: 23.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01921/1.973, allocations: 11.86 MB / 1.03 GB, free: 18.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.006889/1.98, allocations: 1.008 MB / 1.031 GB, free: 17.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/1.992, allocations: 2.716 MB / 1.034 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.01568/2.007, allocations: 10.82 MB / 1.044 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01322/2.021, allocations: 6.026 MB / 1.05 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04695/2.068, allocations: 48.54 MB / 1.097 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/2.068, allocations: 7.922 kB / 1.097 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.286e-06/2.068, allocations: 0 / 1.097 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.001812/2.069, allocations: 0 / 1.097 GB, free: 14.54 MB / 0.6544 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.0679/2.137, allocations: 26.73 MB / 1.124 GB, free: 5.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/2.137, allocations: 8.031 kB / 1.124 GB, free: 5.973 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01665/2.154, allocations: 3.878 MB / 1.127 GB, free: 3.773 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04221/2.196, allocations: 8.094 MB / 1.135 GB, free: 12.22 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05366/2.25, allocations: 25.38 MB / 1.16 GB, free: 13.38 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001975/2.252, allocations: 1.63 MB / 1.162 GB, free: 12.46 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01065/2.263, allocations: 2.207 MB / 1.164 GB, free: 10.98 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5987/2.861, allocations: 59.67 MB / 1.222 GB, free: 322.6 MB / 0.7327 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001849/2.863, allocations: 246.5 kB / 1.222 GB, free: 322.5 MB / 0.7327 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01011/2.873, allocations: 0.974 MB / 1.223 GB, free: 322.5 MB / 0.7327 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01456/2.888, allocations: 8.449 MB / 1.232 GB, free: 322.4 MB / 0.7327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1028/2.991, allocations: 48 MB / 1.278 GB, free: 305.9 MB / 0.7327 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.317/3.308, allocations: 247.4 MB / 1.52 GB, free: 64.3 MB / 0.7327 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0606/3.369, allocations: 27.87 MB / 1.547 GB, free: 36.36 MB / 0.7327 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02079/3.389, allocations: 17.46 MB / 1.564 GB, free: 18.88 MB / 0.7327 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002614/3.392, allocations: 2.605 MB / 1.567 GB, free: 15.93 MB / 0.7327 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3495/3.742, allocations: 20.88 MB / 1.587 GB, free: 309.8 MB / 0.7327 GB Notification: Performance of pre-optimization done (n=838): time 1.714e-05/3.742, allocations: 0 / 1.587 GB, free: 309.8 MB / 0.7327 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed