Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.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.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06518/0.06518, allocations: 12.05 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.001049/0.001049, allocations: 99.94 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.001315/0.001316, allocations: 184.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.467/1.467, allocations: 222.9 MB / 262.4 MB, free: 7.434 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06077/0.06077, allocations: 13.69 MB / 329.2 MB, free: 480 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.02611/0.02611, allocations: 19.37 MB / 416.9 MB, free: 24.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1312, allocations: 55.41 MB / 472.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.2917/0.423, allocations: 60.59 MB / 0.5204 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03844/0.4615, allocations: 16.27 MB / 0.5363 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0169/0.4784, allocations: 0.4972 MB / 0.5368 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04925/0.5277, allocations: 31.12 MB / 0.5672 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0269/0.5547, allocations: 7.835 MB / 0.5748 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.5687, allocations: 5.357 MB / 0.5801 GB, free: 8.949 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 propellerRev.blades.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 propellerRev.blades.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 propellerRev3.blades.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 propellerRev3.blades.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 propellerRev1.blades.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 propellerRev1.blades.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 propellerRev2.blades.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 propellerRev2.blades.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. Notification: Performance of NFFlatten.flatten: time 0.04121/0.6099, allocations: 26.75 MB / 0.6062 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0738/0.6838, allocations: 43.84 MB / 0.649 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02423/0.708, allocations: 12.95 MB / 0.6617 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02541/0.7335, allocations: 16.04 MB / 0.6773 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01188/0.7454, allocations: 4.062 MB / 0.6813 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01869/0.7641, allocations: 5.376 MB / 0.6865 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02437/0.7886, allocations: 14.88 MB / 0.7011 GB, free: 2.852 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.3169/1.106, allocations: 17.22 MB / 0.7179 GB, free: 62.18 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.06842/1.174, allocations: 58.59 MB / 0.7751 GB, free: 44.14 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.174, allocations: 0 / 0.7751 GB, free: 44.14 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.003e-06/1.174, allocations: 0 / 0.7751 GB, free: 44.14 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002185/1.176, allocations: 0 / 0.7751 GB, free: 44.14 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: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.1086/1.285, allocations: 33.86 MB / 0.8082 GB, free: 21.77 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.285, allocations: 10.31 kB / 0.8082 GB, free: 21.77 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02772/1.313, allocations: 5.775 MB / 0.8138 GB, free: 18.87 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04564/1.358, allocations: 21.12 MB / 0.8344 GB, free: 2.129 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001571/1.36, allocations: 1.801 MB / 0.8362 GB, free: 424 kB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01312/1.373, allocations: 2.44 MB / 0.8386 GB, free: 14.06 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1387/1.512, allocations: 57.13 MB / 0.8944 GB, free: 3.352 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001738/1.514, allocations: 234.9 kB / 0.8946 GB, free: 3.188 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01001/1.524, allocations: 1.043 MB / 0.8956 GB, free: 2.23 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01139/1.535, allocations: 6.492 MB / 0.9019 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3674/1.903, allocations: 47.37 MB / 0.9482 GB, free: 171.9 MB / 0.5763 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.637/2.54, allocations: 224.8 MB / 1.168 GB, free: 71.05 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06617/2.606, allocations: 27.74 MB / 1.195 GB, free: 69.98 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01986/2.626, allocations: 16.79 MB / 1.211 GB, free: 69.87 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/2.627, allocations: 1.294 MB / 1.212 GB, free: 69.01 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06105/2.689, allocations: 20.41 MB / 1.232 GB, free: 68.69 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=891): time 3.331e-05/2.689, allocations: 5.844 kB / 1.232 GB, free: 68.69 MB / 0.5763 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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