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.06813/0.06813, allocations: 12.04 MB / 27.31 MB, free: 1.441 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.0006315/0.0006317, allocations: 95.48 kB / 31.05 MB, free: 4.809 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.001089/0.001089, allocations: 180.5 kB / 34.9 MB, free: 0.9727 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.297/1.297, allocations: 223.3 MB / 261.9 MB, free: 0.8359 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05738/0.05738, allocations: 13.7 MB / 329.6 MB, free: 1.012 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.01999/0.01999, allocations: 18.37 MB / 416.6 MB, free: 26.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1268, allocations: 56.48 MB / 473.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.7814/0.9082, allocations: 405.5 MB / 0.858 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6545/1.563, allocations: 80.74 MB / 0.9368 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1126/1.675, allocations: 1.801 MB / 0.9386 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009869/1.685, allocations: 2.193 MB / 0.9407 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02479/1.71, allocations: 7.55 MB / 0.9481 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/1.722, allocations: 5.012 MB / 0.953 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05409/1.776, allocations: 39.3 MB / 0.9914 GB, free: 12.15 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0846/1.861, allocations: 56.41 MB / 1.046 GB, free: 276 kB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01775/1.879, allocations: 7.437 MB / 1.054 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0224/1.901, allocations: 12.24 MB / 1.066 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006175/1.907, allocations: 0.9766 MB / 1.067 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/1.918, allocations: 2.393 MB / 1.069 GB, free: 14.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01726/1.935, allocations: 11.19 MB / 1.08 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02686/1.962, allocations: 12.91 MB / 1.093 GB, free: 6.469 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.06849/2.031, allocations: 54.56 MB / 1.146 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/2.031, allocations: 0 / 1.146 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.567e-06/2.031, allocations: 2.062 kB / 1.146 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001988/2.033, allocations: 0 / 1.146 GB, free: 0.7422 MB / 0.7325 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.08521/2.118, allocations: 27.68 MB / 1.173 GB, free: 4.949 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/2.118, allocations: 8.031 kB / 1.173 GB, free: 4.941 MB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01604/2.134, allocations: 3.98 MB / 1.177 GB, free: 1.039 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04454/2.179, allocations: 7.837 MB / 1.184 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04691/2.226, allocations: 25.12 MB / 1.209 GB, free: 1.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001748/2.227, allocations: 1.803 MB / 1.211 GB, free: 15.35 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00871/2.236, allocations: 2.458 MB / 1.213 GB, free: 12.98 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5588/2.795, allocations: 57.36 MB / 1.269 GB, free: 404.8 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001386/2.796, allocations: 231.8 kB / 1.269 GB, free: 404.7 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008142/2.805, allocations: 1.052 MB / 1.27 GB, free: 404 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01144/2.816, allocations: 6.494 MB / 1.277 GB, free: 401.5 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09487/2.911, allocations: 47.61 MB / 1.323 GB, free: 365.9 MB / 0.8108 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.2821/3.193, allocations: 225.7 MB / 1.544 GB, free: 137.7 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06313/3.256, allocations: 27.99 MB / 1.571 GB, free: 109.5 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01848/3.275, allocations: 16.87 MB / 1.587 GB, free: 92.64 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/3.277, allocations: 1.295 MB / 1.589 GB, free: 91.23 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05622/3.333, allocations: 20.56 MB / 1.609 GB, free: 70.57 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=901): time 1.805e-05/3.333, allocations: 0 / 1.609 GB, free: 70.57 MB / 0.8108 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed