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/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.Tests.controlModuleTest_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",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.09699/0.09699, allocations: 12.03 MB / 27.15 MB, free: 1.703 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.001134/0.001134, allocations: 107.4 kB / 30.83 MB, free: 5.152 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.002161/0.002161, allocations: 196.3 kB / 34.64 MB, free: 1.359 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.566/1.566, allocations: 222.9 MB / 261.2 MB, free: 8.168 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06076/0.06076, allocations: 13.68 MB / 327.9 MB, free: 344 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.02603/0.02603, allocations: 18.45 MB / 413.9 MB, free: 27.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1493, allocations: 55.42 MB / 469.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 1.239/1.388, allocations: 413.7 MB / 0.8623 GB, free: 0.7109 MB / 0.5451 GB Notification: Performance of NFInst.instExpressions: time 0.9232/2.311, allocations: 80.69 MB / 0.9411 GB, free: 1.168 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1276/2.439, allocations: 1.817 MB / 0.9429 GB, free: 1.168 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0612/2.5, allocations: 31.47 MB / 0.9736 GB, free: 384 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02729/2.528, allocations: 7.508 MB / 0.9809 GB, free: 15.87 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01451/2.542, allocations: 4.968 MB / 0.9858 GB, free: 15.77 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.05693/2.599, allocations: 39 MB / 1.024 GB, free: 8.344 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07499/2.674, allocations: 41.55 MB / 1.064 GB, free: 9.91 MB / 0.6701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02771/2.702, allocations: 10.67 MB / 1.075 GB, free: 0.9805 MB / 0.6701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03053/2.733, allocations: 16.32 MB / 1.091 GB, free: 2.211 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01034/2.743, allocations: 2.266 MB / 1.093 GB, free: 15.94 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/2.759, allocations: 3.687 MB / 1.097 GB, free: 12.39 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02679/2.786, allocations: 13.22 MB / 1.11 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04396/2.83, allocations: 15.33 MB / 1.124 GB, free: 15.93 MB / 0.7326 GB Notification: Performance of NFConvertDAE.convert: time 0.08584/2.915, allocations: 56.84 MB / 1.18 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/2.916, allocations: 0 / 1.18 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.976e-06/2.916, allocations: 0 / 1.18 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002301/2.918, allocations: 0 / 1.18 GB, free: 7.93 MB / 0.7794 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.1416/3.059, allocations: 34.11 MB / 1.213 GB, free: 5.898 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/3.06, allocations: 12.03 kB / 1.213 GB, free: 5.887 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02339/3.083, allocations: 4.55 MB / 1.218 GB, free: 1.41 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04724/3.13, allocations: 7.711 MB / 1.225 GB, free: 9.656 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.174/4.304, allocations: 25.05 MB / 1.25 GB, free: 135 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002885/4.307, allocations: 1.797 MB / 1.252 GB, free: 135 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01404/4.321, allocations: 2.444 MB / 1.254 GB, free: 135 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1459/4.467, allocations: 57.07 MB / 1.31 GB, free: 126 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002576/4.469, allocations: 232.1 kB / 1.31 GB, free: 125.9 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009979/4.479, allocations: 1.051 MB / 1.311 GB, free: 125.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009806/4.489, allocations: 6.49 MB / 1.317 GB, free: 123.4 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09842/4.588, allocations: 47.23 MB / 1.363 GB, free: 83.31 MB / 0.8264 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.7905/5.378, allocations: 225.8 MB / 1.584 GB, free: 497.2 MB / 0.9514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06896/5.447, allocations: 27.66 MB / 1.611 GB, free: 496.1 MB / 0.9514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02114/5.468, allocations: 16.73 MB / 1.627 GB, free: 496 MB / 0.9514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/5.471, allocations: 1.293 MB / 1.628 GB, free: 495.1 MB / 0.9514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08493/5.556, allocations: 20.34 MB / 1.648 GB, free: 491.9 MB / 0.9514 GB Notification: Performance of pre-optimization done (n=891): time 5.723e-05/5.556, allocations: 0 / 1.648 GB, free: 491.9 MB / 0.9514 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed