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.0764/0.0764, allocations: 12.03 MB / 26.98 MB, free: 1.91 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.001045/0.001045, allocations: 105.7 kB / 30.71 MB, free: 5.379 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.001464/0.001464, allocations: 177.1 kB / 34.55 MB, free: 1.555 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.545/1.545, allocations: 223.2 MB / 261.4 MB, free: 9.539 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05626/0.05626, allocations: 13.7 MB / 329.1 MB, free: 456 kB / 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.01762/0.01762, allocations: 17.45 MB / 414.9 MB, free: 28.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1177, allocations: 56.49 MB / 471.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.9179/1.036, allocations: 301.9 MB / 0.7552 GB, free: 316 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.1831/1.219, allocations: 71.49 MB / 0.825 GB, free: 364 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09297/1.312, allocations: 1.535 MB / 0.8265 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.06217/1.374, allocations: 15.43 MB / 0.8416 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.1542/1.528, allocations: 41.9 MB / 0.8825 GB, free: 14.71 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.02101/1.549, allocations: 3.933 MB / 0.8863 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.05723/1.606, allocations: 36.11 MB / 0.9216 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5304/2.137, allocations: 40.79 MB / 0.9614 GB, free: 38.8 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01864/2.156, allocations: 6.191 MB / 0.9675 GB, free: 38.8 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01971/2.175, allocations: 7.897 MB / 0.9752 GB, free: 38.77 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.00904/2.184, allocations: 0.9967 MB / 0.9761 GB, free: 38.77 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/2.198, allocations: 2.014 MB / 0.9781 GB, free: 38.77 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02142/2.219, allocations: 9.955 MB / 0.9878 GB, free: 38.77 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.02136/2.241, allocations: 5.93 MB / 0.9936 GB, free: 38.73 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.06347/2.304, allocations: 47.65 MB / 1.04 GB, free: 22.04 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/2.304, allocations: 0 / 1.04 GB, free: 22.04 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.366e-06/2.304, allocations: 0 / 1.04 GB, free: 22.04 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.002177/2.307, allocations: 0 / 1.04 GB, free: 22.04 MB / 0.6232 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.09226/2.399, allocations: 26.86 MB / 1.066 GB, free: 1.621 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/2.399, allocations: 8.031 kB / 1.066 GB, free: 1.613 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02434/2.423, allocations: 3.822 MB / 1.07 GB, free: 15.44 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05349/2.477, allocations: 9.525 MB / 1.079 GB, free: 6.793 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05768/2.535, allocations: 22.38 MB / 1.101 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002402/2.537, allocations: 1.596 MB / 1.103 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01563/2.553, allocations: 2.163 MB / 1.105 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1783/2.731, allocations: 60.12 MB / 1.164 GB, free: 13.56 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003469/2.735, allocations: 243.3 kB / 1.164 GB, free: 13.41 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01564/2.75, allocations: 0.954 MB / 1.165 GB, free: 13.16 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01641/2.767, allocations: 8.43 MB / 1.173 GB, free: 6.703 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4783/3.245, allocations: 48.7 MB / 1.221 GB, free: 299 MB / 0.7325 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.3978/3.643, allocations: 246.1 MB / 1.461 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06533/3.708, allocations: 28.02 MB / 1.488 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004257/3.713, allocations: 2.595 MB / 1.491 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07414/3.787, allocations: 21.3 MB / 1.512 GB, free: 79.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=788): time 1.988e-05/3.787, allocations: 0 / 1.512 GB, free: 79.37 MB / 0.7325 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed