Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06634/0.06634, allocations: 12.03 MB / 27.53 MB, free: 1.961 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.001039/0.001039, allocations: 103.8 kB / 31.24 MB, free: 5.062 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.001155/0.001155, allocations: 196.4 kB / 35.07 MB, free: 1.242 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.552/1.552, allocations: 222.9 MB / 261.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2212/0.2212, allocations: 13.67 MB / 328.4 MB, free: 2.824 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.03447/0.03447, allocations: 19.62 MB / 415.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6921, allocations: 55.38 MB / 471.2 MB, free: 53.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.05268/0.7448, allocations: 61.06 MB / 0.5198 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04629/0.7912, allocations: 16.42 MB / 0.5358 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02006/0.8113, allocations: 0.4944 MB / 0.5363 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05944/0.8708, allocations: 31.13 MB / 0.5667 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02948/0.9004, allocations: 7.864 MB / 0.5744 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01311/0.9135, allocations: 5.42 MB / 0.5797 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04556/0.9591, allocations: 26.94 MB / 0.606 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4162/1.375, allocations: 44.04 MB / 0.649 GB, free: 26.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02577/1.401, allocations: 12.98 MB / 0.6617 GB, free: 26.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0314/1.433, allocations: 16.12 MB / 0.6774 GB, free: 24.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.02133/1.454, allocations: 4.07 MB / 0.6814 GB, free: 24.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02669/1.481, allocations: 5.398 MB / 0.6867 GB, free: 24.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.03414/1.515, allocations: 14.91 MB / 0.7012 GB, free: 22.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04641/1.561, allocations: 17.39 MB / 0.7182 GB, free: 9.754 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.08832/1.65, allocations: 58.3 MB / 0.7751 GB, free: 7.738 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/1.65, allocations: 0 / 0.7751 GB, free: 7.738 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.655e-06/1.65, allocations: 0 / 0.7751 GB, free: 7.738 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.002345/1.652, allocations: 0 / 0.7751 GB, free: 7.738 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.1264/1.779, allocations: 34.29 MB / 0.8086 GB, free: 5.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.779, allocations: 8.031 kB / 0.8086 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01844/1.797, allocations: 3.978 MB / 0.8125 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04483/1.842, allocations: 7.729 MB / 0.8201 GB, free: 10.03 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05464/1.897, allocations: 25.12 MB / 0.8446 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001932/1.899, allocations: 1.803 MB / 0.8464 GB, free: 344 kB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.495/2.394, allocations: 2.45 MB / 0.8487 GB, free: 185.1 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1528/2.546, allocations: 57.17 MB / 0.9046 GB, free: 161 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002704/2.549, allocations: 234.7 kB / 0.9048 GB, free: 160.9 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01222/2.561, allocations: 1.052 MB / 0.9058 GB, free: 160.2 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0126/2.574, allocations: 6.489 MB / 0.9122 GB, free: 158.8 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1056/2.68, allocations: 47.38 MB / 0.9584 GB, free: 115.6 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.66/3.34, allocations: 226.1 MB / 1.179 GB, free: 60.5 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.074/3.414, allocations: 27.81 MB / 1.206 GB, free: 51.66 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02519/3.439, allocations: 16.81 MB / 1.223 GB, free: 43.87 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002544/3.442, allocations: 1.29 MB / 1.224 GB, free: 42.92 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06292/3.505, allocations: 20.45 MB / 1.244 GB, free: 35.91 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=901): time 2.883e-05/3.505, allocations: 0 / 1.244 GB, free: 35.91 MB / 0.5764 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed