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: translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06095/0.06095, allocations: 12.04 MB / 27.97 MB, free: 2.199 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.0007128/0.0007127, allocations: 98.36 kB / 31.71 MB, free: 5.336 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.0009116/0.0009116, allocations: 184.4 kB / 35.57 MB, free: 1.496 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.351/1.351, allocations: 223.2 MB / 262.5 MB, free: 0.7812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05952/0.05952, allocations: 13.7 MB / 330.3 MB, free: 1.043 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.01836/0.01836, allocations: 17.39 MB / 416.2 MB, free: 27.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1361, allocations: 56.48 MB / 472.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.9541/1.09, allocations: 405.5 MB / 0.8576 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6833/1.774, allocations: 80.73 MB / 0.9364 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.107/1.881, allocations: 1.803 MB / 0.9382 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009683/1.89, allocations: 2.196 MB / 0.9403 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02811/1.919, allocations: 7.552 MB / 0.9477 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01349/1.932, allocations: 5.01 MB / 0.9526 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05875/1.991, allocations: 39.28 MB / 0.9909 GB, free: 12.15 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08762/2.079, allocations: 56.43 MB / 1.046 GB, free: 488 kB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02054/2.099, allocations: 7.431 MB / 1.053 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02255/2.122, allocations: 12.24 MB / 1.065 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006118/2.128, allocations: 0.9766 MB / 1.066 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/2.138, allocations: 2.395 MB / 1.069 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01745/2.156, allocations: 11.17 MB / 1.079 GB, free: 4.137 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02429/2.18, allocations: 12.84 MB / 1.092 GB, free: 7.301 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.04919/2.23, allocations: 48.3 MB / 1.139 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/2.23, allocations: 0 / 1.139 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.437e-06/2.23, allocations: 0 / 1.139 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001915/2.231, allocations: 4 kB / 1.139 GB, free: 7.816 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.07343/2.305, allocations: 27.48 MB / 1.166 GB, free: 12.22 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/2.305, allocations: 14.66 kB / 1.166 GB, free: 12.21 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02835/2.333, allocations: 5.886 MB / 1.172 GB, free: 6.285 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04396/2.377, allocations: 20.8 MB / 1.192 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002638/2.38, allocations: 1.8 MB / 1.194 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009907/2.39, allocations: 2.453 MB / 1.196 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6356/3.026, allocations: 57.43 MB / 1.252 GB, free: 410.9 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002533/3.028, allocations: 237.7 kB / 1.253 GB, free: 410.8 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01028/3.039, allocations: 1.052 MB / 1.254 GB, free: 410.1 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01244/3.051, allocations: 6.499 MB / 1.26 GB, free: 408 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1058/3.157, allocations: 47.76 MB / 1.307 GB, free: 383.2 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.2861/3.443, allocations: 226.2 MB / 1.527 GB, free: 155.9 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06338/3.506, allocations: 28.05 MB / 1.555 GB, free: 127.6 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02015/3.527, allocations: 16.93 MB / 1.571 GB, free: 110.7 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/3.528, allocations: 1.292 MB / 1.573 GB, free: 109.3 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05961/3.588, allocations: 20.65 MB / 1.593 GB, free: 88.54 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=901): time 2.219e-05/3.588, allocations: 0 / 1.593 GB, free: 88.54 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