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-master/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-master/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-master/package.mo): time 0.06342/0.06342, allocations: 12.03 MB / 27.53 MB, free: 1.262 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.0008968/0.0008968, allocations: 108 kB / 31.24 MB, free: 4.574 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.0009442/0.0009442, allocations: 196.4 kB / 35.06 MB, free: 0.7539 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.413/1.413, allocations: 222.9 MB / 261.6 MB, free: 52 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06413/0.06413, allocations: 13.68 MB / 328.4 MB, free: 3.738 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.04382/0.04382, allocations: 19.63 MB / 415.8 MB, free: 24.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1762, allocations: 55.41 MB / 471.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.3738/0.5501, allocations: 54.87 MB / 0.5138 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03611/0.5863, allocations: 15.62 MB / 0.529 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01799/0.6044, allocations: 458.1 kB / 0.5294 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04499/0.6494, allocations: 24.69 MB / 0.5536 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03088/0.6803, allocations: 8.093 MB / 0.5615 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01565/0.696, allocations: 5.332 MB / 0.5667 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04801/0.744, allocations: 27.83 MB / 0.5938 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07839/0.8225, allocations: 38.98 MB / 0.6319 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02813/0.8507, allocations: 12.11 MB / 0.6437 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02942/0.8801, allocations: 14.93 MB / 0.6583 GB, free: 8.691 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01542/0.8956, allocations: 3.898 MB / 0.6621 GB, free: 4.793 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01964/0.9153, allocations: 5.138 MB / 0.6672 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02937/0.9447, allocations: 14.17 MB / 0.681 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04288/0.9877, allocations: 16.94 MB / 0.6975 GB, free: 0.6211 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.7796/1.767, allocations: 57.24 MB / 0.7534 GB, free: 58.48 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.767, allocations: 1.438 kB / 0.7534 GB, free: 58.48 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.104e-06/1.767, allocations: 2.625 kB / 0.7534 GB, free: 58.48 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002325/1.77, allocations: 0 / 0.7534 GB, free: 58.48 MB / 0.4983 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.1437/1.913, allocations: 32.4 MB / 0.7851 GB, free: 39.64 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.914, allocations: 15.23 kB / 0.7851 GB, free: 39.63 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02328/1.937, allocations: 3.813 MB / 0.7888 GB, free: 37.12 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05166/1.989, allocations: 7.906 MB / 0.7965 GB, free: 33.12 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0548/2.043, allocations: 25.37 MB / 0.8213 GB, free: 14.37 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001744/2.045, allocations: 1.588 MB / 0.8229 GB, free: 12.9 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01903/2.064, allocations: 2.175 MB / 0.825 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1767/2.241, allocations: 59.17 MB / 0.8828 GB, free: 13.88 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002378/2.243, allocations: 244.8 kB / 0.883 GB, free: 13.72 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01297/2.256, allocations: 0.9566 MB / 0.8839 GB, free: 12.89 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01444/2.271, allocations: 8.432 MB / 0.8922 GB, free: 4.555 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4927/2.764, allocations: 47.71 MB / 0.9388 GB, free: 176.4 MB / 0.5764 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.7665/3.53, allocations: 245.6 MB / 1.179 GB, free: 61.9 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07071/3.601, allocations: 27.2 MB / 1.205 GB, free: 60.97 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02442/3.625, allocations: 17.29 MB / 1.222 GB, free: 60.9 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003226/3.629, allocations: 2.601 MB / 1.225 GB, free: 58.9 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0643/3.693, allocations: 20.55 MB / 1.245 GB, free: 54.54 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=788): time 2.353e-05/3.693, allocations: 0.7969 kB / 1.245 GB, free: 54.54 MB / 0.5764 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed