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: translateModel(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06421/0.06421, allocations: 12.05 MB / 28.21 MB, free: 1.594 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.001103/0.001103, allocations: 107.9 kB / 31.93 MB, free: 4.516 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.001421/0.001421, allocations: 196.4 kB / 35.77 MB, free: 0.6992 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.459/1.459, allocations: 222.9 MB / 262.3 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2671/0.2671, allocations: 13.67 MB / 329.1 MB, free: 2.793 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.03506/0.03506, allocations: 19.57 MB / 416.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.541, allocations: 55.39 MB / 471.8 MB, free: 53.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.04466/0.5857, allocations: 57.32 MB / 0.5167 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03681/0.6226, allocations: 16.58 MB / 0.5329 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01569/0.6383, allocations: 474.3 kB / 0.5333 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05061/0.6889, allocations: 24.81 MB / 0.5575 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02785/0.7169, allocations: 8.367 MB / 0.5657 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.7313, allocations: 5.648 MB / 0.5712 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04345/0.7748, allocations: 28.52 MB / 0.5991 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07256/0.8474, allocations: 39.69 MB / 0.6378 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3396/1.187, allocations: 12.34 MB / 0.6499 GB, free: 41.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02476/1.212, allocations: 15.2 MB / 0.6647 GB, free: 40.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0162/1.228, allocations: 3.971 MB / 0.6686 GB, free: 40.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02377/1.252, allocations: 5.864 MB / 0.6743 GB, free: 40.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02697/1.279, allocations: 14.33 MB / 0.6883 GB, free: 39.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03705/1.316, allocations: 17.15 MB / 0.7051 GB, free: 28.37 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06371/1.38, allocations: 58.1 MB / 0.7618 GB, free: 13.55 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/1.38, allocations: 0 / 0.7618 GB, free: 13.55 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.685e-06/1.38, allocations: 0 / 0.7618 GB, free: 13.55 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002217/1.382, allocations: 0 / 0.7618 GB, free: 13.55 MB / 0.4982 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.1061/1.488, allocations: 32.86 MB / 0.7939 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.488, allocations: 14.66 kB / 0.7939 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03286/1.521, allocations: 5.988 MB / 0.7998 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04872/1.57, allocations: 21.34 MB / 0.8206 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001821/1.572, allocations: 1.63 MB / 0.8222 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009834/1.582, allocations: 2.214 MB / 0.8244 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6079/2.189, allocations: 59.75 MB / 0.8827 GB, free: 160 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001825/2.191, allocations: 245.7 kB / 0.8829 GB, free: 159.9 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0107/2.202, allocations: 0.9716 MB / 0.8839 GB, free: 159.3 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01548/2.218, allocations: 8.445 MB / 0.8921 GB, free: 157.3 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1178/2.335, allocations: 48.18 MB / 0.9392 GB, free: 138.7 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.7059/3.041, allocations: 248.5 MB / 1.182 GB, free: 66.68 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07346/3.115, allocations: 27.83 MB / 1.209 GB, free: 63.62 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02161/3.136, allocations: 17.52 MB / 1.226 GB, free: 55.29 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002804/3.139, allocations: 2.597 MB / 1.229 GB, free: 53.18 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06167/3.201, allocations: 20.89 MB / 1.249 GB, free: 47.8 MB / 0.592 GB Notification: Performance of pre-optimization done (n=838): time 2.088e-05/3.201, allocations: 0 / 1.249 GB, free: 47.8 MB / 0.592 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