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: translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06188/0.06188, allocations: 12.04 MB / 28.21 MB, free: 1.82 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.00111/0.00111, allocations: 103.7 kB / 31.92 MB, free: 4.699 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.001658/0.001659, allocations: 191.3 kB / 35.75 MB, free: 0.8828 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.422/1.422, allocations: 222.9 MB / 262.3 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1796/0.1796, allocations: 13.68 MB / 329 MB, free: 2.645 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.03218/0.03218, allocations: 19.58 MB / 416.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5375, allocations: 55.39 MB / 471.7 MB, free: 53.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.04467/0.5822, allocations: 61.06 MB / 0.5203 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03595/0.6182, allocations: 16.43 MB / 0.5364 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01604/0.6342, allocations: 0.4979 MB / 0.5368 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05575/0.6901, allocations: 31.12 MB / 0.5672 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02375/0.7139, allocations: 7.865 MB / 0.5749 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01317/0.7271, allocations: 5.413 MB / 0.5802 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04088/0.7679, allocations: 26.93 MB / 0.6065 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3206/1.089, allocations: 44.05 MB / 0.6495 GB, free: 25.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02331/1.112, allocations: 12.98 MB / 0.6622 GB, free: 25.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02994/1.142, allocations: 16.12 MB / 0.678 GB, free: 23.95 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01649/1.159, allocations: 4.07 MB / 0.6819 GB, free: 23.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/1.178, allocations: 5.399 MB / 0.6872 GB, free: 23.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02525/1.203, allocations: 14.91 MB / 0.7018 GB, free: 22.01 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03243/1.236, allocations: 17.31 MB / 0.7187 GB, free: 9.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06307/1.299, allocations: 58.04 MB / 0.7753 GB, free: 7.969 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.299, allocations: 0 / 0.7753 GB, free: 7.969 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.144e-06/1.299, allocations: 0 / 0.7753 GB, free: 7.969 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.001952/1.301, allocations: 3.812 kB / 0.7753 GB, free: 7.969 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.1019/1.403, allocations: 34.03 MB / 0.8086 GB, free: 6.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.403, allocations: 15.97 kB / 0.8086 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02991/1.433, allocations: 5.787 MB / 0.8142 GB, free: 312 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04406/1.477, allocations: 20.79 MB / 0.8345 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001767/1.479, allocations: 1.801 MB / 0.8363 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01139/1.49, allocations: 2.451 MB / 0.8387 GB, free: 8.332 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6259/2.116, allocations: 57.24 MB / 0.8946 GB, free: 161 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002348/2.118, allocations: 229.1 kB / 0.8948 GB, free: 160.9 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0104/2.129, allocations: 1.052 MB / 0.8958 GB, free: 160.2 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01288/2.142, allocations: 6.5 MB / 0.9022 GB, free: 158.8 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09836/2.24, allocations: 47.52 MB / 0.9486 GB, free: 125.4 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.5926/2.833, allocations: 226.5 MB / 1.17 GB, free: 64.75 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0702/2.903, allocations: 27.89 MB / 1.197 GB, free: 57.16 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02078/2.924, allocations: 16.89 MB / 1.214 GB, free: 49.33 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00219/2.926, allocations: 1.299 MB / 1.215 GB, free: 48.38 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06098/2.987, allocations: 20.51 MB / 1.235 GB, free: 42.64 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=901): time 2.471e-05/2.987, allocations: 0 / 1.235 GB, free: 42.64 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