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: 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/package.mo): time 0.06729/0.06729, allocations: 12.04 MB / 27.54 MB, free: 1.387 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.001006/0.001006, allocations: 116.8 kB / 31.24 MB, free: 4.574 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.001242/0.001242, allocations: 192.4 kB / 35.06 MB, free: 0.7656 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.273/1.273, allocations: 222.9 MB / 261.6 MB, free: 36 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05986/0.05986, allocations: 13.69 MB / 328.3 MB, free: 3.699 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.02449/0.02449, allocations: 19.59 MB / 415.6 MB, free: 25.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.117, allocations: 55.41 MB / 471.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.2277/0.3448, allocations: 57.32 MB / 0.516 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02875/0.3736, allocations: 16.56 MB / 0.5322 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01107/0.3847, allocations: 474.7 kB / 0.5326 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0359/0.4206, allocations: 24.82 MB / 0.5568 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01943/0.4401, allocations: 8.357 MB / 0.565 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01197/0.4521, allocations: 5.649 MB / 0.5705 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03395/0.486, allocations: 28.52 MB / 0.5984 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05791/0.544, allocations: 39.68 MB / 0.6371 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02307/0.5671, allocations: 12.35 MB / 0.6492 GB, free: 2.258 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02349/0.5907, allocations: 15.2 MB / 0.664 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01148/0.6022, allocations: 3.973 MB / 0.6679 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.6183, allocations: 5.86 MB / 0.6736 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02059/0.6389, allocations: 14.34 MB / 0.6876 GB, free: 11.76 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.479/1.118, allocations: 17.14 MB / 0.7044 GB, free: 65.73 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.06193/1.18, allocations: 58.1 MB / 0.7611 GB, free: 54.79 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.18, allocations: 0 / 0.7611 GB, free: 54.79 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.683e-06/1.18, allocations: 0 / 0.7611 GB, free: 54.79 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001907/1.182, allocations: 0 / 0.7611 GB, free: 54.79 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.1024/1.284, allocations: 32.86 MB / 0.7932 GB, free: 32.55 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.284, allocations: 9.625 kB / 0.7932 GB, free: 32.55 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03024/1.315, allocations: 5.994 MB / 0.7991 GB, free: 29.47 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04328/1.358, allocations: 21.34 MB / 0.8199 GB, free: 15.66 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001201/1.359, allocations: 1.632 MB / 0.8215 GB, free: 14.28 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01098/1.37, allocations: 2.21 MB / 0.8237 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1355/1.506, allocations: 59.75 MB / 0.882 GB, free: 14.6 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001238/1.507, allocations: 241.5 kB / 0.8822 GB, free: 14.44 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009705/1.517, allocations: 0.9777 MB / 0.8832 GB, free: 13.59 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01493/1.532, allocations: 8.446 MB / 0.8914 GB, free: 5.246 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3224/1.854, allocations: 48.17 MB / 0.9385 GB, free: 171.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.595/2.449, allocations: 248.5 MB / 1.181 GB, free: 74.42 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06789/2.517, allocations: 27.83 MB / 1.208 GB, free: 73.45 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02047/2.538, allocations: 17.52 MB / 1.225 GB, free: 73.37 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002536/2.54, allocations: 2.602 MB / 1.228 GB, free: 71.37 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06072/2.601, allocations: 20.89 MB / 1.248 GB, free: 66.48 MB / 0.592 GB Notification: Performance of pre-optimization done (n=838): time 1.729e-05/2.601, allocations: 4 kB / 1.248 GB, free: 66.48 MB / 0.592 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed