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.07166/0.07166, allocations: 12.03 MB / 27.53 MB, free: 1.316 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.001131/0.001131, allocations: 104 kB / 31.23 MB, free: 4.578 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.001355/0.001355, allocations: 188.5 kB / 35.06 MB, free: 0.7656 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.423/1.423, allocations: 222.9 MB / 261.6 MB, free: 24 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05985/0.05985, allocations: 13.67 MB / 328.4 MB, free: 3.734 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.02924/0.02924, allocations: 19.58 MB / 415.8 MB, free: 25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1496, allocations: 55.43 MB / 471.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.3432/0.4928, allocations: 61.05 MB / 0.5198 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04312/0.536, allocations: 16.41 MB / 0.5358 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01846/0.5545, allocations: 0.4946 MB / 0.5363 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05351/0.6081, allocations: 31.13 MB / 0.5667 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02771/0.6359, allocations: 7.864 MB / 0.5744 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01493/0.6509, allocations: 5.418 MB / 0.5796 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04524/0.6961, allocations: 26.93 MB / 0.6059 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07254/0.7687, allocations: 44.12 MB / 0.649 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02928/0.798, allocations: 12.98 MB / 0.6617 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0286/0.8267, allocations: 16.12 MB / 0.6774 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01617/0.8429, allocations: 4.07 MB / 0.6814 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.8631, allocations: 5.399 MB / 0.6867 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02513/0.8883, allocations: 14.91 MB / 0.7013 GB, free: 1.887 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.4703/1.359, allocations: 17.38 MB / 0.7182 GB, free: 60.38 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.08164/1.44, allocations: 58.31 MB / 0.7752 GB, free: 42.49 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.44, allocations: 1.125 kB / 0.7752 GB, free: 42.49 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.274e-06/1.44, allocations: 0 / 0.7752 GB, free: 42.49 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002546/1.443, allocations: 0 / 0.7752 GB, free: 42.49 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.131/1.574, allocations: 34.29 MB / 0.8086 GB, free: 19.85 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.574, allocations: 13.5 kB / 0.8087 GB, free: 19.85 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02019/1.594, allocations: 3.971 MB / 0.8125 GB, free: 17.2 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04687/1.641, allocations: 7.731 MB / 0.8201 GB, free: 13.37 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05466/1.696, allocations: 25.12 MB / 0.8446 GB, free: 7.078 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001988/1.698, allocations: 1.797 MB / 0.8464 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01235/1.71, allocations: 2.449 MB / 0.8488 GB, free: 3 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1548/1.865, allocations: 57.17 MB / 0.9046 GB, free: 8.254 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001994/1.867, allocations: 235 kB / 0.9048 GB, free: 8.094 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01102/1.878, allocations: 1.051 MB / 0.9059 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01177/1.89, allocations: 6.493 MB / 0.9122 GB, free: 0.7188 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3937/2.284, allocations: 47.37 MB / 0.9585 GB, free: 172.6 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.7175/3.001, allocations: 226.1 MB / 1.179 GB, free: 72.14 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06821/3.07, allocations: 27.8 MB / 1.206 GB, free: 71.04 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0216/3.091, allocations: 16.82 MB / 1.223 GB, free: 70.93 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/3.093, allocations: 1.301 MB / 1.224 GB, free: 70.06 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06168/3.155, allocations: 20.44 MB / 1.244 GB, free: 65.04 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=901): time 1.885e-05/3.155, allocations: 0 / 1.244 GB, free: 65.04 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