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: translateModel(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1007/0.1007, allocations: 12.05 MB / 27.97 MB, free: 2.191 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.0008197/0.0008195, allocations: 91.98 kB / 31.7 MB, free: 5.336 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.001017/0.001017, allocations: 180.4 kB / 35.56 MB, free: 1.496 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.446/1.446, allocations: 223.2 MB / 262.5 MB, free: 9.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05643/0.05643, allocations: 13.69 MB / 330.3 MB, free: 15.93 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.01818/0.01818, allocations: 17.38 MB / 416.2 MB, free: 27.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1298, allocations: 56.49 MB / 472.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.8788/1.009, allocations: 344.5 MB / 0.7981 GB, free: 14.62 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1622/1.171, allocations: 70.33 MB / 0.8668 GB, free: 10.2 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0911/1.262, allocations: 1.546 MB / 0.8683 GB, free: 8.648 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.008362/1.27, allocations: 2.145 MB / 0.8704 GB, free: 6.496 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.02242/1.293, allocations: 7.741 MB / 0.8779 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01185/1.305, allocations: 4.925 MB / 0.8827 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.04623/1.351, allocations: 38.95 MB / 0.9208 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4867/1.838, allocations: 48.38 MB / 0.968 GB, free: 10.62 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01676/1.855, allocations: 7.228 MB / 0.9751 GB, free: 10.61 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02145/1.876, allocations: 11.81 MB / 0.9866 GB, free: 9.867 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.006675/1.883, allocations: 0.9928 MB / 0.9876 GB, free: 9.867 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/1.896, allocations: 2.319 MB / 0.9898 GB, free: 9.867 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.01824/1.914, allocations: 10.84 MB / 1 GB, free: 8.766 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.02431/1.939, allocations: 12.84 MB / 1.013 GB, free: 4.312 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.05785/1.996, allocations: 48.39 MB / 1.06 GB, free: 0 / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.997, allocations: 128 / 1.06 GB, free: 0 / 0.6388 GB Notification: Performance of FrontEnd: time 2.805e-06/1.997, allocations: 64 / 1.06 GB, free: 0 / 0.6388 GB Notification: Performance of Transformations before backend: time 0.001895/1.998, allocations: 0 / 1.06 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.07182/2.07, allocations: 25.64 MB / 1.085 GB, free: 12.46 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/2.07, allocations: 8.031 kB / 1.085 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03238/2.103, allocations: 6.019 MB / 1.091 GB, free: 6.684 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0453/2.148, allocations: 20.97 MB / 1.112 GB, free: 8.371 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001656/2.15, allocations: 1.594 MB / 1.113 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01098/2.161, allocations: 2.159 MB / 1.115 GB, free: 4.859 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1502/2.311, allocations: 59.44 MB / 1.173 GB, free: 7.352 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001797/2.313, allocations: 241.6 kB / 1.174 GB, free: 7.195 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01314/2.326, allocations: 0.9571 MB / 1.174 GB, free: 6.359 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01552/2.341, allocations: 8.434 MB / 1.183 GB, free: 14.01 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4577/2.799, allocations: 48.08 MB / 1.23 GB, free: 376.7 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.3598/3.159, allocations: 245.6 MB / 1.47 GB, free: 199 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06276/3.222, allocations: 27.45 MB / 1.496 GB, free: 171.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02069/3.243, allocations: 17.42 MB / 1.513 GB, free: 154 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002632/3.245, allocations: 2.594 MB / 1.516 GB, free: 151.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06119/3.306, allocations: 20.74 MB / 1.536 GB, free: 130.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=788): time 2.03e-05/3.307, allocations: 4 kB / 1.536 GB, free: 130.3 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