Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0668/0.0668, allocations: 12.01 MB / 27.24 MB, free: 2.137 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.001012/0.001012, allocations: 117 kB / 30.94 MB, free: 5.285 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.001481/0.001481, allocations: 196.3 kB / 34.75 MB, free: 1.492 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.433/1.433, allocations: 222.9 MB / 261.3 MB, free: 8.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.096/0.096, allocations: 13.67 MB / 328 MB, free: 0.6445 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.02626/0.02626, allocations: 18.42 MB / 413.9 MB, free: 27.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1531, allocations: 55.41 MB / 469.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.9616/1.115, allocations: 354.4 MB / 0.8044 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1995/1.314, allocations: 71.24 MB / 0.874 GB, free: 2.996 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1083/1.423, allocations: 1.578 MB / 0.8755 GB, free: 1.414 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04475/1.467, allocations: 24.04 MB / 0.899 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.03776/1.505, allocations: 7.765 MB / 0.9066 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01841/1.524, allocations: 5.36 MB / 0.9118 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05165/1.575, allocations: 28.71 MB / 0.9399 GB, free: 2.027 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6183/2.194, allocations: 41.46 MB / 0.9804 GB, free: 7.484 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03189/2.226, allocations: 12.59 MB / 0.9927 GB, free: 7.48 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02906/2.255, allocations: 16.59 MB / 1.009 GB, free: 6.578 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.0188/2.274, allocations: 3.97 MB / 1.013 GB, free: 6.578 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02092/2.295, allocations: 5.886 MB / 1.018 GB, free: 6.578 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02603/2.321, allocations: 14.49 MB / 1.033 GB, free: 5.445 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.04694/2.368, allocations: 17.33 MB / 1.05 GB, free: 13.07 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.07825/2.446, allocations: 58.23 MB / 1.106 GB, free: 3.793 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/2.446, allocations: 0 / 1.106 GB, free: 3.793 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.232e-06/2.446, allocations: 0 / 1.106 GB, free: 3.793 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002023/2.448, allocations: 3.938 kB / 1.106 GB, free: 3.789 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.1074/2.555, allocations: 32.85 MB / 1.139 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/2.556, allocations: 14.45 kB / 1.139 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03313/2.589, allocations: 5.99 MB / 1.144 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05737/2.646, allocations: 21.33 MB / 1.165 GB, free: 8.609 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002713/2.649, allocations: 1.634 MB / 1.167 GB, free: 7.098 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01365/2.663, allocations: 2.216 MB / 1.169 GB, free: 5.004 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.161/2.824, allocations: 59.75 MB / 1.227 GB, free: 7.141 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001939/2.826, allocations: 251 kB / 1.228 GB, free: 6.977 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0123/2.838, allocations: 0.9715 MB / 1.228 GB, free: 6.125 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3476/3.186, allocations: 8.445 MB / 1.237 GB, free: 422.4 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.122/3.308, allocations: 48.18 MB / 1.284 GB, free: 407.5 MB / 0.8107 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.3392/3.647, allocations: 248.5 MB / 1.526 GB, free: 164.7 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05979/3.707, allocations: 27.83 MB / 1.554 GB, free: 136.8 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0196/3.726, allocations: 17.52 MB / 1.571 GB, free: 119.3 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002674/3.729, allocations: 2.606 MB / 1.573 GB, free: 116.3 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05657/3.786, allocations: 20.88 MB / 1.594 GB, free: 95.36 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=838): time 2.177e-05/3.786, allocations: 0 / 1.594 GB, free: 95.36 MB / 0.8107 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed