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.07294/0.07294, allocations: 12.04 MB / 27.65 MB, free: 1.867 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.0007334/0.0007335, allocations: 110.7 kB / 31.37 MB, free: 5.273 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.001217/0.001217, allocations: 184.4 kB / 35.21 MB, free: 1.453 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.503/1.503, allocations: 223.2 MB / 262.1 MB, free: 0.9648 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06051/0.06051, allocations: 13.7 MB / 329.9 MB, free: 3.789 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.02367/0.02367, allocations: 17.45 MB / 415.6 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1603, allocations: 56.48 MB / 472.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 1.458/1.618, allocations: 319.9 MB / 0.7734 GB, free: 144 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.1971/1.815, allocations: 68.22 MB / 0.8401 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1078/1.923, allocations: 1.543 MB / 0.8416 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.06835/1.992, allocations: 16.97 MB / 0.8581 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.1666/2.158, allocations: 47.99 MB / 0.905 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.03546/2.194, allocations: 3.95 MB / 0.9089 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.6638/2.858, allocations: 59.02 MB / 0.9665 GB, free: 31.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09227/2.95, allocations: 41.08 MB / 1.007 GB, free: 27.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02878/2.979, allocations: 7.74 MB / 1.014 GB, free: 27.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03051/3.009, allocations: 11.68 MB / 1.026 GB, free: 23.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.01041/3.02, allocations: 0.9895 MB / 1.027 GB, free: 22.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01812/3.038, allocations: 2.057 MB / 1.029 GB, free: 21.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.02677/3.065, allocations: 10.74 MB / 1.039 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.02121/3.086, allocations: 5.909 MB / 1.045 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.07523/3.161, allocations: 47.42 MB / 1.091 GB, free: 6.41 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/3.162, allocations: 0 / 1.091 GB, free: 6.41 MB / 0.6388 GB Notification: Performance of FrontEnd: time 7.494e-06/3.162, allocations: 3.094 kB / 1.091 GB, free: 6.41 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.002979/3.165, allocations: 0.9844 kB / 1.091 GB, free: 6.41 MB / 0.6388 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.1028/3.267, allocations: 25.95 MB / 1.116 GB, free: 14.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.476e-05/3.268, allocations: 12.03 kB / 1.116 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/3.304, allocations: 6.02 MB / 1.122 GB, free: 8.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05632/3.361, allocations: 20.62 MB / 1.142 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001979/3.363, allocations: 1.596 MB / 1.144 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01356/3.376, allocations: 2.168 MB / 1.146 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1693/3.546, allocations: 59.26 MB / 1.204 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002041/3.548, allocations: 236.9 kB / 1.204 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0137/3.561, allocations: 0.9599 MB / 1.205 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6121/4.174, allocations: 8.426 MB / 1.213 GB, free: 337.4 MB / 0.7327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1371/4.311, allocations: 47.87 MB / 1.26 GB, free: 327.2 MB / 0.7327 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.4038/4.715, allocations: 245.5 MB / 1.5 GB, free: 81.8 MB / 0.7327 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0657/4.78, allocations: 27.4 MB / 1.527 GB, free: 54.45 MB / 0.7327 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02524/4.806, allocations: 17.39 MB / 1.544 GB, free: 37.04 MB / 0.7327 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003591/4.809, allocations: 2.592 MB / 1.546 GB, free: 34.11 MB / 0.7327 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05971/4.869, allocations: 20.72 MB / 1.566 GB, free: 13.3 MB / 0.7327 GB Notification: Performance of pre-optimization done (n=788): time 2.447e-05/4.869, allocations: 0 / 1.566 GB, free: 13.3 MB / 0.7327 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: 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/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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed