Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",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.07997/0.07997, allocations: 12.05 MB / 27.55 MB, free: 1.371 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.001125/0.001125, allocations: 112.9 kB / 31.26 MB, free: 4.57 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.00173/0.001731, allocations: 196.4 kB / 35.08 MB, free: 0.7539 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.436/1.436, allocations: 222.9 MB / 261.7 MB, free: 16 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06194/0.06194, allocations: 13.68 MB / 328.4 MB, free: 3.703 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.03197/0.03197, allocations: 19.63 MB / 415.8 MB, free: 24.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1738, allocations: 55.42 MB / 471.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.3783/0.5521, allocations: 61.05 MB / 0.5198 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04368/0.5958, allocations: 16.41 MB / 0.5358 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01757/0.6134, allocations: 0.4949 MB / 0.5363 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05305/0.6665, allocations: 31.13 MB / 0.5667 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02659/0.6932, allocations: 7.867 MB / 0.5744 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01691/0.7101, allocations: 5.421 MB / 0.5797 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04247/0.7526, allocations: 26.93 MB / 0.606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08244/0.8351, allocations: 44.12 MB / 0.6491 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02548/0.8607, allocations: 12.99 MB / 0.6618 GB, free: 9.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03165/0.8923, allocations: 16.11 MB / 0.6775 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01547/0.9079, allocations: 4.074 MB / 0.6815 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02074/0.9286, allocations: 5.396 MB / 0.6867 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02872/0.9574, allocations: 14.91 MB / 0.7013 GB, free: 1.828 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.4081/1.366, allocations: 17.37 MB / 0.7183 GB, free: 60.21 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.08848/1.454, allocations: 58.3 MB / 0.7752 GB, free: 42.32 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/1.454, allocations: 3 kB / 0.7752 GB, free: 42.32 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.856e-06/1.454, allocations: 1.5 kB / 0.7752 GB, free: 42.32 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.003055/1.457, allocations: 0 / 0.7752 GB, free: 42.32 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: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.1311/1.588, allocations: 34.29 MB / 0.8087 GB, free: 19.68 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.588, allocations: 9.531 kB / 0.8087 GB, free: 19.68 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02561/1.614, allocations: 3.976 MB / 0.8126 GB, free: 17.03 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04595/1.66, allocations: 7.733 MB / 0.8201 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05238/1.712, allocations: 25.11 MB / 0.8447 GB, free: 6.973 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002122/1.715, allocations: 1.796 MB / 0.8464 GB, free: 5.262 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01393/1.728, allocations: 2.459 MB / 0.8488 GB, free: 2.891 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1697/1.898, allocations: 57.16 MB / 0.9047 GB, free: 8.152 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001857/1.9, allocations: 233.9 kB / 0.9049 GB, free: 7.992 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01131/1.911, allocations: 1.046 MB / 0.9059 GB, free: 7.031 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01246/1.924, allocations: 6.496 MB / 0.9122 GB, free: 0.6211 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4614/2.385, allocations: 47.36 MB / 0.9585 GB, free: 172.8 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.7654/3.151, allocations: 226.1 MB / 1.179 GB, free: 72.07 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07482/3.226, allocations: 27.8 MB / 1.206 GB, free: 70.96 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02251/3.248, allocations: 16.82 MB / 1.223 GB, free: 70.86 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/3.25, allocations: 1.3 MB / 1.224 GB, free: 69.98 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06494/3.315, allocations: 20.44 MB / 1.244 GB, free: 64.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=901): time 2.656e-05/3.316, allocations: 0 / 1.244 GB, free: 64.94 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed