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.05923/0.05923, allocations: 12.03 MB / 26.99 MB, free: 196 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.0008499, allocations: 100.5 kB / 30.71 MB, free: 432 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 188.3 kB / 34.56 MB, free: 3.168 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.487/1.487, allocations: 223.2 MB / 261.4 MB, free: 9.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05784/0.05784, allocations: 13.68 MB / 329.1 MB, free: 116 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.01787/0.01787, allocations: 17.45 MB / 414.9 MB, free: 27.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1424, allocations: 56.48 MB / 471.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 1.173/1.315, allocations: 354.9 MB / 0.8069 GB, free: 12.95 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2137/1.529, allocations: 82 MB / 0.887 GB, free: 11 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1112/1.64, allocations: 1.792 MB / 0.8888 GB, free: 9.207 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.08033/1.72, allocations: 18.24 MB / 0.9066 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.6712/2.392, allocations: 49.09 MB / 0.9545 GB, free: 16.34 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02565/2.417, allocations: 4.158 MB / 0.9586 GB, free: 16.29 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.05639/2.474, allocations: 36 MB / 0.9937 GB, free: 15.3 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07701/2.551, allocations: 48.62 MB / 1.041 GB, free: 7.465 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/2.568, allocations: 6.247 MB / 1.047 GB, free: 4.023 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01698/2.585, allocations: 7.979 MB / 1.055 GB, free: 14.68 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.007793/2.593, allocations: 0.9688 MB / 1.056 GB, free: 13.71 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/2.604, allocations: 2.094 MB / 1.058 GB, free: 11.88 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.01933/2.624, allocations: 10.24 MB / 1.068 GB, free: 4.539 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0143/2.638, allocations: 5.779 MB / 1.074 GB, free: 2.793 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.06926/2.707, allocations: 48.37 MB / 1.121 GB, free: 9.395 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/2.707, allocations: 0 / 1.121 GB, free: 9.395 MB / 0.6857 GB Notification: Performance of FrontEnd: time 3.497e-06/2.707, allocations: 0 / 1.121 GB, free: 9.395 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002122/2.71, allocations: 2.344 kB / 1.121 GB, free: 9.395 MB / 0.6857 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.1015/2.811, allocations: 28.51 MB / 1.149 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/2.811, allocations: 8.578 kB / 1.149 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02508/2.836, allocations: 4.554 MB / 1.153 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05104/2.887, allocations: 9.065 MB / 1.162 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05531/2.943, allocations: 22.08 MB / 1.184 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002485/2.945, allocations: 1.796 MB / 1.185 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01615/2.961, allocations: 2.443 MB / 1.188 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7201/3.681, allocations: 57.82 MB / 1.244 GB, free: 338.3 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003163/3.685, allocations: 233.5 kB / 1.245 GB, free: 338.2 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0143/3.699, allocations: 1.053 MB / 1.246 GB, free: 338.2 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01293/3.712, allocations: 6.492 MB / 1.252 GB, free: 338.1 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1101/3.822, allocations: 48.18 MB / 1.299 GB, free: 317.9 MB / 0.7483 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.3349/4.157, allocations: 226.4 MB / 1.52 GB, free: 93.07 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06407/4.221, allocations: 28.36 MB / 1.548 GB, free: 64.57 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/4.223, allocations: 1.296 MB / 1.549 GB, free: 63.16 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06044/4.284, allocations: 20.97 MB / 1.569 GB, free: 42.09 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=891): time 2.144e-05/4.284, allocations: 3.984 kB / 1.569 GB, free: 42.09 MB / 0.7483 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed