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.0725/0.07251, allocations: 12.04 MB / 27.31 MB, free: 1.719 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.0006282/0.0006281, allocations: 103.3 kB / 31.06 MB, free: 5.18 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.0009327/0.0009326, allocations: 180.5 kB / 34.91 MB, free: 1.344 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.222/1.222, allocations: 223.3 MB / 261.9 MB, free: 0.875 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05891/0.05891, allocations: 13.7 MB / 329.6 MB, free: 1.027 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.01988/0.01988, allocations: 18.37 MB / 416.6 MB, free: 26.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1331, allocations: 56.48 MB / 473.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.9266/1.06, allocations: 405 MB / 0.8576 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5765/1.636, allocations: 80.6 MB / 0.9363 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09199/1.728, allocations: 1.801 MB / 0.938 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0091/1.738, allocations: 2.186 MB / 0.9402 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02315/1.761, allocations: 7.526 MB / 0.9475 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01273/1.773, allocations: 4.959 MB / 0.9523 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.06809/1.842, allocations: 40.38 MB / 0.9918 GB, free: 0 / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07215/1.914, allocations: 56.16 MB / 1.047 GB, free: 1.539 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0153/1.929, allocations: 7.392 MB / 1.054 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01899/1.948, allocations: 12.17 MB / 1.066 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004917/1.953, allocations: 0.9727 MB / 1.067 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009321/1.962, allocations: 2.399 MB / 1.069 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01598/1.978, allocations: 11.15 MB / 1.08 GB, free: 3.297 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0245/2.003, allocations: 12.86 MB / 1.092 GB, free: 6.453 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.06141/2.064, allocations: 54.4 MB / 1.146 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/2.064, allocations: 4 kB / 1.146 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/2.064, allocations: 0 / 1.146 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001845/2.066, allocations: 0 / 1.146 GB, free: 0.8789 MB / 0.7325 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.0746/2.141, allocations: 27.5 MB / 1.172 GB, free: 5.273 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/2.141, allocations: 12.03 kB / 1.172 GB, free: 5.262 MB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01928/2.16, allocations: 4.555 MB / 1.177 GB, free: 0.7812 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04107/2.201, allocations: 7.824 MB / 1.185 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04764/2.249, allocations: 25.06 MB / 1.209 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002028/2.251, allocations: 1.801 MB / 1.211 GB, free: 15.16 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0103/2.261, allocations: 2.446 MB / 1.213 GB, free: 12.8 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6303/2.892, allocations: 57.23 MB / 1.269 GB, free: 404.8 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001532/2.893, allocations: 235 kB / 1.269 GB, free: 404.7 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008253/2.902, allocations: 1.045 MB / 1.27 GB, free: 404 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01083/2.912, allocations: 6.493 MB / 1.277 GB, free: 401.5 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09236/3.005, allocations: 47.43 MB / 1.323 GB, free: 366.3 MB / 0.8108 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.2674/3.272, allocations: 225.4 MB / 1.543 GB, free: 138.4 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06253/3.335, allocations: 27.83 MB / 1.57 GB, free: 110.4 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01792/3.353, allocations: 16.75 MB / 1.587 GB, free: 93.65 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/3.354, allocations: 1.298 MB / 1.588 GB, free: 92.24 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05478/3.409, allocations: 20.44 MB / 1.608 GB, free: 71.7 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=891): time 1.489e-05/3.409, allocations: 3.938 kB / 1.608 GB, free: 71.7 MB / 0.8108 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