Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",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.07002/0.07002, allocations: 12.04 MB / 27.31 MB, free: 1.273 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.000766/0.000766, allocations: 95.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.001109/0.00111, allocations: 176.5 kB / 34.9 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.478/1.478, allocations: 223.2 MB / 261.9 MB, free: 9.543 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05544/0.05544, allocations: 13.7 MB / 329.6 MB, free: 300 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.01808/0.01808, allocations: 18.38 MB / 416.6 MB, free: 26.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09954/0.1176, allocations: 56.49 MB / 473.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.7739/0.8915, allocations: 346.8 MB / 0.8008 GB, free: 14.41 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1392/1.031, allocations: 71.34 MB / 0.8704 GB, free: 7.938 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05745/1.088, allocations: 1.555 MB / 0.8719 GB, free: 6.379 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.00655/1.095, allocations: 2.238 MB / 0.8741 GB, free: 4.137 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01802/1.113, allocations: 7.932 MB / 0.8819 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009548/1.122, allocations: 5.227 MB / 0.887 GB, free: 8.324 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.04219/1.165, allocations: 39.58 MB / 0.9256 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3914/1.556, allocations: 48.92 MB / 0.9734 GB, free: 9.141 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0141/1.57, allocations: 7.398 MB / 0.9806 GB, free: 9.137 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.017/1.587, allocations: 12.01 MB / 0.9924 GB, free: 8.27 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.00533/1.593, allocations: 1.007 MB / 0.9934 GB, free: 8.27 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00898/1.602, allocations: 2.981 MB / 0.9963 GB, free: 8.27 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.01342/1.615, allocations: 10.93 MB / 1.007 GB, free: 7.137 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01913/1.634, allocations: 13.15 MB / 1.02 GB, free: 2.562 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0766/1.711, allocations: 57.45 MB / 1.076 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/1.711, allocations: 0 / 1.076 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/1.711, allocations: 0 / 1.076 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.001458/1.712, allocations: 0 / 1.076 GB, free: 13.35 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.05894/1.771, allocations: 26.4 MB / 1.102 GB, free: 2.867 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.771, allocations: 12.03 kB / 1.102 GB, free: 2.855 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01252/1.784, allocations: 3.879 MB / 1.105 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04134/1.825, allocations: 8.095 MB / 1.113 GB, free: 6.953 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04774/1.873, allocations: 25.75 MB / 1.139 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001811/1.875, allocations: 1.632 MB / 1.14 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009729/1.885, allocations: 2.214 MB / 1.142 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1188/2.003, allocations: 59.85 MB / 1.201 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000791/2.004, allocations: 243.1 kB / 1.201 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003811/2.008, allocations: 0.973 MB / 1.202 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01168/2.02, allocations: 8.447 MB / 1.21 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2831/2.303, allocations: 48.22 MB / 1.257 GB, free: 379.1 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.2531/2.556, allocations: 247.5 MB / 1.499 GB, free: 166.8 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0575/2.614, allocations: 27.91 MB / 1.526 GB, free: 138.8 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01701/2.631, allocations: 17.48 MB / 1.543 GB, free: 121.4 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003304/2.634, allocations: 2.603 MB / 1.546 GB, free: 118.4 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07375/2.708, allocations: 20.91 MB / 1.566 GB, free: 97.42 MB / 0.795 GB Notification: Performance of pre-optimization done (n=838): time 1.338e-05/2.708, allocations: 0 / 1.566 GB, free: 97.42 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