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.06894/0.06894, allocations: 12.02 MB / 27.14 MB, free: 2.141 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.001101/0.001101, allocations: 119.3 kB / 30.84 MB, free: 5.309 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.001409/0.001409, allocations: 200.3 kB / 34.64 MB, free: 1.52 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.591/1.591, allocations: 222.9 MB / 261.2 MB, free: 8.168 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06138/0.06138, allocations: 13.68 MB / 327.9 MB, free: 336 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.03187/0.03187, allocations: 18.46 MB / 413.9 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.181, allocations: 55.41 MB / 469.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 1.202/1.383, allocations: 352 MB / 0.802 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2061/1.589, allocations: 70.41 MB / 0.8708 GB, free: 5.234 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09671/1.686, allocations: 1.555 MB / 0.8723 GB, free: 3.676 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04406/1.73, allocations: 24.87 MB / 0.8966 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0239/1.754, allocations: 7.733 MB / 0.9042 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0143/1.769, allocations: 4.938 MB / 0.909 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.6229/2.391, allocations: 38.93 MB / 0.947 GB, free: 11.82 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07125/2.463, allocations: 36.14 MB / 0.9823 GB, free: 6.633 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03086/2.494, allocations: 9.794 MB / 0.9919 GB, free: 6.629 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02983/2.524, allocations: 15.02 MB / 1.007 GB, free: 5.762 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01375/2.537, allocations: 2.018 MB / 1.009 GB, free: 5.762 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01985/2.557, allocations: 3.344 MB / 1.012 GB, free: 5.762 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02574/2.583, allocations: 12.43 MB / 1.024 GB, free: 4.652 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.03668/2.62, allocations: 14.83 MB / 1.038 GB, free: 212 kB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.08034/2.7, allocations: 55.91 MB / 1.093 GB, free: 3.492 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/2.7, allocations: 0 / 1.093 GB, free: 3.492 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.493e-06/2.7, allocations: 0 / 1.093 GB, free: 3.492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.002019/2.702, allocations: 0 / 1.093 GB, free: 3.492 MB / 0.67 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.1354/2.838, allocations: 32.4 MB / 1.125 GB, free: 3.281 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/2.838, allocations: 12.03 kB / 1.125 GB, free: 3.27 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0221/2.86, allocations: 3.819 MB / 1.128 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04817/2.908, allocations: 7.91 MB / 1.136 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.061/2.969, allocations: 25.37 MB / 1.161 GB, free: 15.27 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002028/2.971, allocations: 1.594 MB / 1.162 GB, free: 13.79 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01253/2.984, allocations: 2.166 MB / 1.165 GB, free: 11.75 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1771/3.161, allocations: 59.17 MB / 1.222 GB, free: 14.51 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002031/3.163, allocations: 245.7 kB / 1.223 GB, free: 14.35 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01272/3.176, allocations: 0.9584 MB / 1.224 GB, free: 13.52 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0161/3.192, allocations: 8.436 MB / 1.232 GB, free: 5.168 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7472/3.939, allocations: 47.7 MB / 1.278 GB, free: 403.3 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.3754/4.315, allocations: 245.6 MB / 1.518 GB, free: 169.5 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06487/4.379, allocations: 27.21 MB / 1.545 GB, free: 142.3 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02283/4.402, allocations: 17.3 MB / 1.562 GB, free: 125 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003148/4.406, allocations: 2.599 MB / 1.564 GB, free: 122 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05867/4.464, allocations: 20.54 MB / 1.584 GB, free: 101.4 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=788): time 1.894e-05/4.464, allocations: 0 / 1.584 GB, free: 101.4 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed