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: "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05956/0.05956, allocations: 12.01 MB / 27.24 MB, free: 2.129 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.001325/0.001325, allocations: 105.7 kB / 30.94 MB, free: 5.277 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.001017/0.001017, allocations: 196.3 kB / 34.75 MB, free: 1.48 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.389/1.389, allocations: 222.9 MB / 261.3 MB, free: 8.648 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05726/0.05726, allocations: 13.67 MB / 328 MB, free: 0.6562 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.02868/0.02868, allocations: 18.45 MB / 414.1 MB, free: 27.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1516, allocations: 55.41 MB / 469.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.9263/1.078, allocations: 352 MB / 0.8022 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1825/1.261, allocations: 70.31 MB / 0.8709 GB, free: 5.148 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08686/1.347, allocations: 1.553 MB / 0.8724 GB, free: 3.594 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04177/1.389, allocations: 23.95 MB / 0.8958 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02232/1.412, allocations: 7.539 MB / 0.9032 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.423, allocations: 5.07 MB / 0.9081 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03487/1.457, allocations: 28.01 MB / 0.9355 GB, free: 6.652 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4673/1.925, allocations: 40.78 MB / 0.9753 GB, free: 8.891 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01916/1.944, allocations: 12.35 MB / 0.9873 GB, free: 8.887 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02422/1.968, allocations: 16.32 MB / 1.003 GB, free: 8.102 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01175/1.98, allocations: 3.906 MB / 1.007 GB, free: 8.098 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01451/1.995, allocations: 5.157 MB / 1.012 GB, free: 8.098 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02311/2.018, allocations: 14.33 MB / 1.026 GB, free: 6.988 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0322/2.05, allocations: 17.01 MB / 1.043 GB, free: 2.547 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.06717/2.117, allocations: 57.39 MB / 1.099 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/2.117, allocations: 7.938 kB / 1.099 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.124e-06/2.117, allocations: 0 / 1.099 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.001732/2.119, allocations: 0 / 1.099 GB, free: 12.96 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: 7901 * Number of variables: 7901 Notification: Performance of Generate backend data structure: time 0.08816/2.207, allocations: 32.4 MB / 1.13 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/2.207, allocations: 8.031 kB / 1.13 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01265/2.22, allocations: 3.816 MB / 1.134 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03926/2.259, allocations: 7.911 MB / 1.142 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04258/2.302, allocations: 25.38 MB / 1.167 GB, free: 8.723 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/2.303, allocations: 1.594 MB / 1.168 GB, free: 7.25 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00854/2.312, allocations: 2.164 MB / 1.17 GB, free: 5.207 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1243/2.436, allocations: 59.16 MB / 1.228 GB, free: 7.973 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001266/2.437, allocations: 245.2 kB / 1.228 GB, free: 7.812 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007139/2.444, allocations: 0.962 MB / 1.229 GB, free: 6.973 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4013/2.846, allocations: 8.426 MB / 1.238 GB, free: 418.2 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0988/2.945, allocations: 47.71 MB / 1.284 GB, free: 403.7 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.2744/3.219, allocations: 245.6 MB / 1.524 GB, free: 163.6 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05567/3.275, allocations: 27.21 MB / 1.551 GB, free: 136.3 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01666/3.291, allocations: 17.29 MB / 1.567 GB, free: 119 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/3.294, allocations: 2.603 MB / 1.57 GB, free: 116 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05151/3.345, allocations: 20.55 MB / 1.59 GB, free: 95.42 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=788): time 1.337e-05/3.345, allocations: 4 kB / 1.59 GB, free: 95.42 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: 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed