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/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: 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/package.mo): time 0.05972/0.05972, allocations: 12.01 MB / 27.79 MB, free: 2.152 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.0009556/0.0009554, allocations: 122.7 kB / 31.49 MB, free: 5.281 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.00109, allocations: 196.3 kB / 35.3 MB, free: 1.488 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.255/1.255, allocations: 222.9 MB / 261.8 MB, free: 320 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05357/0.05357, allocations: 13.68 MB / 328.5 MB, free: 1.328 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.02559/0.02559, allocations: 17.46 MB / 413.4 MB, free: 27.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1395, allocations: 55.43 MB / 468.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.9687/1.108, allocations: 414.2 MB / 0.8623 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2027/1.311, allocations: 80.82 MB / 0.9412 GB, free: 0.6133 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.5834/1.895, allocations: 1.814 MB / 0.943 GB, free: 1.219 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05587/1.95, allocations: 31.48 MB / 0.9738 GB, free: 404 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02326/1.974, allocations: 7.536 MB / 0.9811 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0124/1.986, allocations: 5.02 MB / 0.986 GB, free: 15.78 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.05136/2.038, allocations: 39.16 MB / 1.024 GB, free: 8.348 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06377/2.101, allocations: 41.63 MB / 1.065 GB, free: 9.781 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02601/2.127, allocations: 10.72 MB / 1.075 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02789/2.155, allocations: 16.38 MB / 1.091 GB, free: 1.953 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01162/2.167, allocations: 2.27 MB / 1.094 GB, free: 15.68 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01754/2.185, allocations: 3.699 MB / 1.097 GB, free: 12.12 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02016/2.205, allocations: 13.24 MB / 1.11 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03194/2.237, allocations: 15.31 MB / 1.125 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.05255/2.289, allocations: 49.78 MB / 1.174 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/2.289, allocations: 0 / 1.174 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/2.289, allocations: 0 / 1.174 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.00201/2.291, allocations: 0 / 1.174 GB, free: 14.7 MB / 0.7794 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.09021/2.382, allocations: 34.04 MB / 1.207 GB, free: 12.73 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.382, allocations: 8.031 kB / 1.207 GB, free: 12.73 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02691/2.409, allocations: 5.795 MB / 1.213 GB, free: 6.895 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04355/2.452, allocations: 20.79 MB / 1.233 GB, free: 2.973 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001636/2.454, allocations: 1.807 MB / 1.235 GB, free: 1.25 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5062/2.96, allocations: 2.448 MB / 1.237 GB, free: 447 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1324/3.093, allocations: 57.25 MB / 1.293 GB, free: 421.2 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001345/3.094, allocations: 234.5 kB / 1.293 GB, free: 421.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008681/3.103, allocations: 1.046 MB / 1.294 GB, free: 420.5 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008666/3.111, allocations: 6.496 MB / 1.301 GB, free: 417.6 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08582/3.197, allocations: 47.51 MB / 1.347 GB, free: 370.3 MB / 0.8264 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.2966/3.494, allocations: 226.5 MB / 1.568 GB, free: 141.9 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06244/3.556, allocations: 27.9 MB / 1.595 GB, free: 113.9 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01978/3.576, allocations: 16.89 MB / 1.612 GB, free: 97 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002035/3.578, allocations: 1.288 MB / 1.613 GB, free: 95.6 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.057/3.635, allocations: 20.52 MB / 1.633 GB, free: 75 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.422e-05/3.635, allocations: 4 kB / 1.633 GB, free: 75 MB / 0.8264 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