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.06256/0.06256, allocations: 12.04 MB / 28.3 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.001585/0.001585, allocations: 96.06 kB / 32.01 MB, free: 4.438 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.002033/0.002033, allocations: 188.5 kB / 35.85 MB, free: 0.625 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.476/1.476, allocations: 222.9 MB / 262.4 MB, free: 7.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0602/0.0602, allocations: 13.68 MB / 329.1 MB, free: 0.5 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.02602/0.02602, allocations: 19.38 MB / 416.9 MB, free: 24.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.131, allocations: 55.4 MB / 472.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.287/0.418, allocations: 57.33 MB / 0.5172 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03598/0.454, allocations: 16.55 MB / 0.5334 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01862/0.4727, allocations: 473 kB / 0.5339 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04095/0.5137, allocations: 24.82 MB / 0.5581 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02597/0.5398, allocations: 8.361 MB / 0.5663 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.5537, allocations: 5.652 MB / 0.5718 GB, free: 10.96 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev3.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev3.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev1.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev1.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev2.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs1.propellerRev2.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04888/0.6026, allocations: 28.51 MB / 0.5996 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07081/0.6735, allocations: 39.58 MB / 0.6383 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02523/0.6987, allocations: 12.37 MB / 0.6504 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02752/0.7263, allocations: 15.2 MB / 0.6652 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01353/0.7399, allocations: 3.969 MB / 0.6691 GB, free: 124 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01899/0.7589, allocations: 5.865 MB / 0.6748 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02356/0.7825, allocations: 14.34 MB / 0.6888 GB, free: 12.02 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.504/1.286, allocations: 17.13 MB / 0.7055 GB, free: 66.74 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.07266/1.359, allocations: 59.05 MB / 0.7632 GB, free: 55.3 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.359, allocations: 2.188 kB / 0.7632 GB, free: 55.3 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.414e-06/1.359, allocations: 0 / 0.7632 GB, free: 55.3 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002121/1.361, allocations: 0 / 0.7632 GB, free: 55.3 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.09878/1.46, allocations: 32.86 MB / 0.7953 GB, free: 33.05 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.46, allocations: 7.75 kB / 0.7953 GB, free: 33.05 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0287/1.489, allocations: 5.994 MB / 0.8012 GB, free: 29.97 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04618/1.535, allocations: 21.75 MB / 0.8224 GB, free: 15.35 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00163/1.537, allocations: 1.632 MB / 0.824 GB, free: 13.84 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.011/1.548, allocations: 2.213 MB / 0.8261 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.147/1.695, allocations: 59.76 MB / 0.8845 GB, free: 14.16 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002052/1.697, allocations: 236.8 kB / 0.8847 GB, free: 14 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01239/1.709, allocations: 0.9758 MB / 0.8857 GB, free: 13.15 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0143/1.724, allocations: 8.453 MB / 0.8939 GB, free: 4.805 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3905/2.114, allocations: 48.17 MB / 0.941 GB, free: 170.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.7017/2.816, allocations: 246.9 MB / 1.182 GB, free: 75.05 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06962/2.886, allocations: 27.82 MB / 1.209 GB, free: 74.07 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02328/2.909, allocations: 17.53 MB / 1.226 GB, free: 74 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003229/2.912, allocations: 2.594 MB / 1.229 GB, free: 72 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06134/2.974, allocations: 20.9 MB / 1.249 GB, free: 67.19 MB / 0.592 GB Notification: Performance of pre-optimization done (n=838): time 2.002e-05/2.974, allocations: 0 / 1.249 GB, free: 67.19 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed