Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput.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_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08027/0.08027, allocations: 12.03 MB / 27.31 MB, free: 1.496 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.0008601/0.0008602, allocations: 96.31 kB / 31.04 MB, free: 6.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.001108/0.001108, allocations: 182.5 kB / 34.9 MB, free: 2.527 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.589/1.589, allocations: 223.2 MB / 261.9 MB, free: 6.938 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06103/0.06103, allocations: 13.7 MB / 329.6 MB, free: 6.297 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.02638/0.02638, allocations: 17.38 MB / 415.6 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5803, allocations: 56.47 MB / 472 MB, free: 50.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 1.299/1.879, allocations: 344.5 MB / 0.7974 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.2034/2.082, allocations: 70.43 MB / 0.8662 GB, free: 5.047 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1019/2.184, allocations: 1.544 MB / 0.8677 GB, free: 4.797 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/2.195, allocations: 2.143 MB / 0.8698 GB, free: 3.039 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.02624/2.221, allocations: 7.737 MB / 0.8774 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0126/2.234, allocations: 4.938 MB / 0.8822 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.06022/2.294, allocations: 38.95 MB / 0.9202 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08353/2.377, allocations: 48.39 MB / 0.9675 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0212/2.399, allocations: 7.231 MB / 0.9746 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02441/2.423, allocations: 11.8 MB / 0.9861 GB, free: 8.41 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008846/2.432, allocations: 0.9883 MB / 0.987 GB, free: 7.422 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/2.444, allocations: 2.323 MB / 0.9893 GB, free: 5.172 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0195/2.464, allocations: 10.84 MB / 0.9999 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.03335/2.497, allocations: 12.83 MB / 1.012 GB, free: 13.49 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 1.163/3.66, allocations: 53.32 MB / 1.064 GB, free: 66.19 MB / 0.7014 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/3.661, allocations: 2.266 kB / 1.064 GB, free: 66.19 MB / 0.7014 GB Notification: Performance of FrontEnd: time 3.046e-06/3.661, allocations: 0 / 1.064 GB, free: 66.19 MB / 0.7014 GB Notification: Performance of Transformations before backend: time 0.002868/3.663, allocations: 0 / 1.064 GB, free: 66.19 MB / 0.7014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7901 * Number of variables: 7901 Notification: Performance of Generate backend data structure: time 0.1102/3.774, allocations: 25.64 MB / 1.09 GB, free: 51 MB / 0.7014 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/3.774, allocations: 9.625 kB / 1.09 GB, free: 51 MB / 0.7014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04125/3.815, allocations: 6.02 MB / 1.095 GB, free: 48.24 MB / 0.7014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05639/3.871, allocations: 20.97 MB / 1.116 GB, free: 42.78 MB / 0.7014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001949/3.873, allocations: 1.593 MB / 1.117 GB, free: 42.73 MB / 0.7014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01572/3.889, allocations: 2.165 MB / 1.12 GB, free: 42.68 MB / 0.7014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1897/4.079, allocations: 59.44 MB / 1.178 GB, free: 8.844 MB / 0.7014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003421/4.082, allocations: 238.9 kB / 1.178 GB, free: 8.691 MB / 0.7014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02183/4.104, allocations: 0.9516 MB / 1.179 GB, free: 7.859 MB / 0.7014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01646/4.121, allocations: 8.442 MB / 1.187 GB, free: 15.51 MB / 0.717 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1365/4.257, allocations: 48.08 MB / 1.234 GB, free: 156 kB / 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 1.245/5.502, allocations: 245.6 MB / 1.474 GB, free: 69.77 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07036/5.572, allocations: 27.45 MB / 1.501 GB, free: 50.84 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02563/5.598, allocations: 17.41 MB / 1.518 GB, free: 33.43 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003284/5.601, allocations: 2.593 MB / 1.52 GB, free: 30.49 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06682/5.668, allocations: 20.75 MB / 1.54 GB, free: 9.66 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=788): time 3.758e-05/5.668, allocations: 0 / 1.54 GB, free: 9.66 MB / 0.8264 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed