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.07255/0.07255, allocations: 12.04 MB / 27.31 MB, free: 1.383 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.0007239/0.000724, allocations: 91.48 kB / 31.05 MB, free: 4.809 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.001579/0.001579, allocations: 184.5 kB / 34.91 MB, free: 0.9688 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.469/1.469, allocations: 223.2 MB / 261.9 MB, free: 9.199 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0564/0.0564, allocations: 13.68 MB / 329.6 MB, free: 15.91 MB / 270.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.01807/0.01807, allocations: 18.38 MB / 416.6 MB, free: 26.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1197, allocations: 56.49 MB / 473.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.9182/1.038, allocations: 344.5 MB / 0.7985 GB, free: 14.6 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1272/1.165, allocations: 70.33 MB / 0.8672 GB, free: 9.852 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06262/1.228, allocations: 1.542 MB / 0.8687 GB, free: 8.305 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006916/1.235, allocations: 2.139 MB / 0.8708 GB, free: 6.16 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01843/1.253, allocations: 7.74 MB / 0.8783 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009209/1.262, allocations: 4.939 MB / 0.8832 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.04074/1.303, allocations: 38.94 MB / 0.9212 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3815/1.685, allocations: 48.39 MB / 0.9684 GB, free: 10.34 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01171/1.697, allocations: 7.234 MB / 0.9755 GB, free: 10.33 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01465/1.711, allocations: 11.8 MB / 0.987 GB, free: 9.594 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.002606/1.714, allocations: 0.9911 MB / 0.988 GB, free: 9.594 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/1.719, allocations: 2.326 MB / 0.9903 GB, free: 9.586 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.007453/1.726, allocations: 10.83 MB / 1.001 GB, free: 8.48 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01115/1.737, allocations: 12.91 MB / 1.013 GB, free: 4.012 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.06326/1.8, allocations: 56 MB / 1.068 GB, free: 0 / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.801, allocations: 128 / 1.068 GB, free: 0 / 0.6388 GB Notification: Performance of FrontEnd: time 1.653e-06/1.801, allocations: 64 / 1.068 GB, free: 0 / 0.6388 GB Notification: Performance of Transformations before backend: time 0.001303/1.802, allocations: 2.938 kB / 1.068 GB, free: 0 / 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.05954/1.861, allocations: 25.84 MB / 1.093 GB, free: 10.33 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.861, allocations: 12.03 kB / 1.093 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01465/1.876, allocations: 3.818 MB / 1.097 GB, free: 6.609 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04262/1.919, allocations: 8.02 MB / 1.105 GB, free: 14.55 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04174/1.96, allocations: 25.37 MB / 1.13 GB, free: 6.195 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/1.962, allocations: 1.593 MB / 1.131 GB, free: 4.723 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008412/1.97, allocations: 2.169 MB / 1.133 GB, free: 2.676 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.115/2.085, allocations: 59.35 MB / 1.191 GB, free: 5.254 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001352/2.087, allocations: 239.3 kB / 1.192 GB, free: 5.102 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007504/2.094, allocations: 0.9529 MB / 1.193 GB, free: 4.27 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01301/2.107, allocations: 8.44 MB / 1.201 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2879/2.395, allocations: 47.92 MB / 1.248 GB, free: 378.9 MB / 0.795 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.2291/2.624, allocations: 245.1 MB / 1.487 GB, free: 179.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08147/2.706, allocations: 27.37 MB / 1.514 GB, free: 152 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01801/2.724, allocations: 17.33 MB / 1.531 GB, free: 134.7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002612/2.726, allocations: 2.602 MB / 1.533 GB, free: 131.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05526/2.782, allocations: 20.67 MB / 1.553 GB, free: 111 MB / 0.795 GB Notification: Performance of pre-optimization done (n=788): time 1.746e-05/2.782, allocations: 0 / 1.553 GB, free: 111 MB / 0.795 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed