Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.chassisTest.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.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",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.1037/0.1037, allocations: 12.03 MB / 27.53 MB, free: 1.406 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.001503/0.001503, allocations: 117.6 kB / 31.25 MB, free: 4.59 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.001499/0.001499, allocations: 200.4 kB / 35.08 MB, free: 0.7734 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.465/1.465, allocations: 222.9 MB / 261.7 MB, free: 40 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05838/0.05838, 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.02931/0.02931, allocations: 19.59 MB / 415.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1458, allocations: 55.41 MB / 471.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 0.3474/0.4932, allocations: 57.61 MB / 0.5164 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03673/0.53, allocations: 15.18 MB / 0.5312 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01778/0.5478, allocations: 483.3 kB / 0.5317 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04915/0.597, allocations: 30.34 MB / 0.5613 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02565/0.6227, allocations: 7.537 MB / 0.5687 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.6347, allocations: 4.789 MB / 0.5734 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03959/0.6743, allocations: 25.26 MB / 0.598 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06549/0.7399, allocations: 42 MB / 0.639 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02357/0.7635, allocations: 12.22 MB / 0.651 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0263/0.7898, allocations: 15.19 MB / 0.6658 GB, free: 3.996 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01334/0.8032, allocations: 3.836 MB / 0.6696 GB, free: 164 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01882/0.8221, allocations: 4.975 MB / 0.6744 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02667/0.8488, allocations: 14.22 MB / 0.6883 GB, free: 13.05 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.6443/1.493, allocations: 16.39 MB / 0.7043 GB, free: 67.33 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.08095/1.574, allocations: 55.58 MB / 0.7586 GB, free: 56.84 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.574, allocations: 0 / 0.7586 GB, free: 56.84 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.164e-06/1.574, allocations: 0 / 0.7586 GB, free: 56.84 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002633/1.577, allocations: 0 / 0.7586 GB, free: 56.84 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7595 * Number of variables: 7595 Notification: Performance of Generate backend data structure: time 0.1339/1.711, allocations: 30.49 MB / 0.7884 GB, free: 37.96 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.711, allocations: 17.28 kB / 0.7884 GB, free: 37.96 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02426/1.735, allocations: 3.762 MB / 0.7921 GB, free: 35.45 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.046/1.781, allocations: 7.522 MB / 0.7994 GB, free: 31.73 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05554/1.837, allocations: 24.23 MB / 0.8231 GB, free: 14.91 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/1.838, allocations: 1.69 MB / 0.8247 GB, free: 13.31 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01519/1.853, allocations: 2.31 MB / 0.827 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1681/2.022, allocations: 54.41 MB / 0.8801 GB, free: 3.152 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002568/2.024, allocations: 237.7 kB / 0.8803 GB, free: 2.988 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01714/2.041, allocations: 0.9878 MB / 0.8813 GB, free: 2.086 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0129/2.054, allocations: 6.306 MB / 0.8875 GB, free: 11.86 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4656/2.52, allocations: 45.19 MB / 0.9316 GB, free: 178 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.6948/3.215, allocations: 214.6 MB / 1.141 GB, free: 146.7 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07045/3.285, allocations: 25.43 MB / 1.166 GB, free: 145.7 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02357/3.309, allocations: 16.06 MB / 1.182 GB, free: 145.6 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/3.311, allocations: 0.9592 MB / 1.183 GB, free: 145 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/3.311, allocations: 117.2 kB / 1.183 GB, free: 145 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=761): time 1.381e-05/3.311, allocations: 0 / 1.183 GB, free: 145 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 * propellerRev2.Airframe.R.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