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.07487/0.07487, allocations: 12.02 MB / 27.14 MB, free: 2.195 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.001273/0.001273, allocations: 119.2 kB / 30.83 MB, free: 5.34 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.001557/0.001557, allocations: 195.5 kB / 34.64 MB, free: 1.551 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.571/1.571, allocations: 222.9 MB / 261.2 MB, free: 8.254 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05952/0.05952, allocations: 13.68 MB / 327.9 MB, free: 312 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.02974/0.02974, allocations: 18.45 MB / 413.9 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.179, allocations: 55.42 MB / 469.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 1.186/1.365, allocations: 354.4 MB / 0.8044 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1793/1.544, allocations: 71.43 MB / 0.8741 GB, free: 2.816 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1024/1.646, allocations: 1.581 MB / 0.8757 GB, free: 1.234 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04702/1.694, allocations: 24.96 MB / 0.9 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.03241/1.726, allocations: 7.933 MB / 0.9078 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01357/1.74, allocations: 5.214 MB / 0.9129 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.6551/2.395, allocations: 39.57 MB / 0.9515 GB, free: 11.55 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0669/2.462, allocations: 36.7 MB / 0.9874 GB, free: 6.188 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02573/2.487, allocations: 9.991 MB / 0.9971 GB, free: 6.18 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0318/2.519, allocations: 15.25 MB / 1.012 GB, free: 5.133 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01187/2.531, allocations: 2.046 MB / 1.014 GB, free: 5.129 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01884/2.55, allocations: 4.02 MB / 1.018 GB, free: 5.129 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02887/2.579, allocations: 12.55 MB / 1.03 GB, free: 3.828 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0506/2.63, allocations: 15.24 MB / 1.045 GB, free: 14.68 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.08811/2.718, allocations: 56.99 MB / 1.101 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/2.718, allocations: 5.031 kB / 1.101 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.735e-06/2.718, allocations: 0 / 1.101 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002277/2.72, allocations: 0 / 1.101 GB, free: 10.57 MB / 0.6857 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.1277/2.848, allocations: 33.12 MB / 1.133 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/2.848, allocations: 8.031 kB / 1.133 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0212/2.869, allocations: 3.875 MB / 1.137 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04935/2.919, allocations: 7.976 MB / 1.145 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06611/2.985, allocations: 25.75 MB / 1.17 GB, free: 5.125 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002378/2.987, allocations: 1.63 MB / 1.171 GB, free: 3.613 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01317/3, allocations: 2.219 MB / 1.174 GB, free: 1.516 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7413/3.742, allocations: 59.66 MB / 1.232 GB, free: 388.2 MB / 0.7952 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002525/3.744, allocations: 245.3 kB / 1.232 GB, free: 388.2 MB / 0.7952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01172/3.756, allocations: 0.9779 MB / 1.233 GB, free: 388.2 MB / 0.7952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01675/3.773, allocations: 8.441 MB / 1.241 GB, free: 388.2 MB / 0.7952 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1295/3.902, allocations: 48.02 MB / 1.288 GB, free: 366.7 MB / 0.7952 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.3695/4.272, allocations: 248 MB / 1.53 GB, free: 127.3 MB / 0.7952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08149/4.354, allocations: 27.75 MB / 1.557 GB, free: 99.47 MB / 0.7952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02204/4.376, allocations: 17.45 MB / 1.574 GB, free: 82 MB / 0.7952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003194/4.379, allocations: 2.601 MB / 1.577 GB, free: 79.06 MB / 0.7952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06147/4.44, allocations: 20.8 MB / 1.597 GB, free: 58.2 MB / 0.7952 GB Notification: Performance of pre-optimization done (n=838): time 2.366e-05/4.44, allocations: 0 / 1.597 GB, free: 58.2 MB / 0.7952 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed