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/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.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/package.mo): time 0.0605/0.0605, 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.0007287/0.0007287, allocations: 100.9 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.0009039/0.0009039, allocations: 184.5 kB / 34.58 MB, free: 1.746 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.399/1.399, allocations: 223.2 MB / 261.5 MB, free: 9.602 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05957/0.05957, allocations: 13.7 MB / 329.3 MB, free: 404 kB / 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.01857/0.01857, allocations: 17.45 MB / 415.1 MB, free: 28.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1295, allocations: 56.48 MB / 471.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 0.8608/0.9904, allocations: 370.3 MB / 0.8221 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1778/1.168, allocations: 76.47 MB / 0.8968 GB, free: 7.172 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09108/1.259, allocations: 1.766 MB / 0.8985 GB, free: 5.402 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.05701/1.316, allocations: 17.43 MB / 0.9155 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.4972/1.814, allocations: 49.19 MB / 0.9636 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02142/1.835, allocations: 3.709 MB / 0.9672 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07833/1.913, allocations: 57.34 MB / 1.023 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08805/2.002, allocations: 47.11 MB / 1.069 GB, free: 6.281 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02119/2.023, allocations: 7.433 MB / 1.076 GB, free: 1.41 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02245/2.045, allocations: 11.41 MB / 1.088 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006969/2.052, allocations: 0.918 MB / 1.088 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/2.064, allocations: 1.908 MB / 1.09 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.01944/2.084, allocations: 10.62 MB / 1.101 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0142/2.098, allocations: 5.479 MB / 1.106 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05248/2.151, allocations: 46.4 MB / 1.151 GB, free: 4.719 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/2.151, allocations: 0 / 1.151 GB, free: 4.719 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.164e-06/2.151, allocations: 0 / 1.151 GB, free: 4.719 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.001676/2.152, allocations: 4 kB / 1.151 GB, free: 4.715 MB / 0.7013 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.07648/2.229, allocations: 24.5 MB / 1.175 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.229, allocations: 8.031 kB / 1.175 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0189/2.248, allocations: 3.764 MB / 1.179 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04124/2.289, allocations: 7.636 MB / 1.186 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04672/2.336, allocations: 23.91 MB / 1.21 GB, free: 5.645 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00174/2.338, allocations: 1.689 MB / 1.211 GB, free: 4.695 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01102/2.349, allocations: 2.306 MB / 1.214 GB, free: 3.16 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6093/2.958, allocations: 54.38 MB / 1.267 GB, free: 348.9 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002118/2.96, allocations: 227.8 kB / 1.267 GB, free: 348.8 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01321/2.973, allocations: 0.9875 MB / 1.268 GB, free: 348.2 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01036/2.984, allocations: 6.306 MB / 1.274 GB, free: 345.7 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09019/3.074, allocations: 45.17 MB / 1.318 GB, free: 305 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.2704/3.344, allocations: 214 MB / 1.527 GB, free: 89.13 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05498/3.399, allocations: 25.49 MB / 1.552 GB, free: 63.53 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01771/3.417, allocations: 16.07 MB / 1.568 GB, free: 47.44 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/3.419, allocations: 0.9497 MB / 1.569 GB, free: 46.42 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.225e-05/3.419, allocations: 122.9 kB / 1.569 GB, free: 46.29 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=761): time 9.728e-06/3.419, allocations: 6.844 kB / 1.569 GB, free: 46.29 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 * 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed