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.06407/0.06407, allocations: 12.03 MB / 27.53 MB, free: 1.32 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.0008025/0.0008025, allocations: 104 kB / 31.23 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.0009073/0.0009073, allocations: 184.5 kB / 35.06 MB, free: 0.7695 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.365/1.365, allocations: 222.9 MB / 261.6 MB, free: 24 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06298/0.06298, allocations: 13.67 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.02892/0.02892, allocations: 19.63 MB / 415.8 MB, free: 24.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1532, allocations: 55.41 MB / 471.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.3812/0.5344, allocations: 57.31 MB / 0.5161 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04168/0.5762, allocations: 16.56 MB / 0.5323 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02157/0.5978, allocations: 475.5 kB / 0.5328 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04351/0.6414, allocations: 24.82 MB / 0.557 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02918/0.6706, allocations: 8.359 MB / 0.5652 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01741/0.688, allocations: 5.644 MB / 0.5707 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05121/0.7393, allocations: 28.53 MB / 0.5985 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06889/0.8082, allocations: 39.67 MB / 0.6373 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03287/0.8412, allocations: 12.36 MB / 0.6493 GB, free: 2.246 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02943/0.8707, allocations: 15.2 MB / 0.6642 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01551/0.8862, allocations: 3.969 MB / 0.6681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02116/0.9074, allocations: 5.864 MB / 0.6738 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02754/0.935, allocations: 14.34 MB / 0.6878 GB, free: 11.75 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.7331/1.668, allocations: 17.23 MB / 0.7046 GB, free: 65.7 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0859/1.754, allocations: 58.41 MB / 0.7617 GB, free: 54.51 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.754, allocations: 3.531 kB / 0.7617 GB, free: 54.51 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.124e-06/1.754, allocations: 0 / 0.7617 GB, free: 54.51 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002736/1.757, allocations: 0.75 kB / 0.7617 GB, free: 54.51 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.1374/1.894, allocations: 33.11 MB / 0.794 GB, free: 32.11 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.894, allocations: 13.59 kB / 0.794 GB, free: 32.1 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02522/1.92, allocations: 3.874 MB / 0.7978 GB, free: 29.55 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0508/1.97, allocations: 7.978 MB / 0.8056 GB, free: 25.51 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0554/2.026, allocations: 25.74 MB / 0.8307 GB, free: 5.184 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/2.027, allocations: 1.631 MB / 0.8323 GB, free: 3.672 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01449/2.042, allocations: 2.219 MB / 0.8345 GB, free: 1.574 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1801/2.222, allocations: 59.67 MB / 0.8927 GB, free: 4.059 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00208/2.224, allocations: 238.3 kB / 0.893 GB, free: 3.906 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01405/2.238, allocations: 0.9768 MB / 0.8939 GB, free: 3.051 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01614/2.254, allocations: 8.453 MB / 0.9022 GB, free: 10.69 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4666/2.721, allocations: 48.01 MB / 0.9491 GB, free: 172.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.7292/3.45, allocations: 248 MB / 1.191 GB, free: 56.25 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07301/3.523, allocations: 27.74 MB / 1.218 GB, free: 55.25 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02525/3.549, allocations: 17.45 MB / 1.235 GB, free: 55.18 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003689/3.552, allocations: 2.606 MB / 1.238 GB, free: 53.17 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06984/3.622, allocations: 20.8 MB / 1.258 GB, free: 48.8 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=838): time 2.424e-05/3.622, allocations: 0 / 1.258 GB, free: 48.8 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