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/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.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/package.mo): time 0.06781/0.06781, allocations: 12.04 MB / 27.01 MB, free: 2.367 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.000713/0.000713, allocations: 94.03 kB / 30.73 MB, free: 5.582 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.001024/0.001024, allocations: 184.5 kB / 34.57 MB, free: 1.754 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.336/1.336, allocations: 223.2 MB / 261.5 MB, free: 1.004 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05656/0.05656, allocations: 13.69 MB / 329.3 MB, free: 1.16 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.02032/0.02032, allocations: 17.45 MB / 415.1 MB, free: 28.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1382, allocations: 56.49 MB / 471.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.9877/1.126, allocations: 376.5 MB / 0.8281 GB, free: 7.934 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1783/1.304, allocations: 78.28 MB / 0.9046 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07358/1.378, allocations: 1.808 MB / 0.9064 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.05245/1.43, allocations: 17.73 MB / 0.9237 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.505/1.935, allocations: 49.93 MB / 0.9724 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02298/1.958, allocations: 4.127 MB / 0.9765 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.06854/2.027, allocations: 58.96 MB / 1.034 GB, free: 14.73 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07896/2.106, allocations: 49.16 MB / 1.082 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.018/2.124, allocations: 7.912 MB / 1.09 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02251/2.147, allocations: 12.08 MB / 1.102 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00575/2.152, allocations: 0.9727 MB / 1.103 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009061/2.162, allocations: 2.134 MB / 1.105 GB, free: 10.19 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01528/2.177, allocations: 11.09 MB / 1.115 GB, free: 1.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01284/2.19, allocations: 5.813 MB / 1.121 GB, free: 14.29 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.05017/2.24, allocations: 48.53 MB / 1.168 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/2.24, allocations: 0 / 1.168 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/2.24, allocations: 0 / 1.168 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.001869/2.242, allocations: 0 / 1.168 GB, free: 4.742 MB / 0.7169 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.08045/2.322, allocations: 27.99 MB / 1.196 GB, free: 10.86 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/2.322, allocations: 12.03 kB / 1.196 GB, free: 10.84 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01808/2.34, allocations: 3.972 MB / 1.2 GB, free: 8.621 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04163/2.382, allocations: 7.839 MB / 1.207 GB, free: 1.191 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4942/2.876, allocations: 24.76 MB / 1.232 GB, free: 359.8 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004351/2.881, allocations: 1.801 MB / 1.233 GB, free: 359.8 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01598/2.897, allocations: 2.451 MB / 1.236 GB, free: 359.8 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1342/3.031, allocations: 57.18 MB / 1.292 GB, free: 322.2 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001549/3.033, allocations: 228.5 kB / 1.292 GB, free: 322 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01163/3.044, allocations: 1.055 MB / 1.293 GB, free: 321.1 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009377/3.054, allocations: 6.489 MB / 1.299 GB, free: 314.6 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09042/3.144, allocations: 47.39 MB / 1.345 GB, free: 267.3 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.2744/3.419, allocations: 225.6 MB / 1.566 GB, free: 39.27 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05929/3.478, allocations: 27.94 MB / 1.593 GB, free: 11.19 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2846/3.763, allocations: 16.84 MB / 1.609 GB, free: 327.8 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/3.765, allocations: 1.3 MB / 1.611 GB, free: 327 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06006/3.825, allocations: 20.54 MB / 1.631 GB, free: 326.6 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 2.45e-05/3.825, allocations: 0 / 1.631 GB, free: 326.6 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed