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.05637/0.05637, allocations: 12.02 MB / 26.97 MB, free: 196 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 90.73 kB / 30.7 MB, free: 440 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 187.9 kB / 34.55 MB, free: 3.18 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.494/1.494, allocations: 223.2 MB / 261.4 MB, free: 8.953 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05592/0.05592, allocations: 13.68 MB / 329.1 MB, free: 128 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.01621/0.01621, allocations: 17.45 MB / 414.8 MB, free: 27.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1311, allocations: 56.48 MB / 471.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 1.042/1.174, allocations: 301.9 MB / 0.7551 GB, free: 312 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.1867/1.36, allocations: 71.48 MB / 0.8249 GB, free: 0.7344 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0949/1.455, allocations: 1.539 MB / 0.8264 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.06161/1.517, allocations: 15.42 MB / 0.8415 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.1439/1.661, allocations: 41.89 MB / 0.8824 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.02348/1.684, allocations: 3.942 MB / 0.8862 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.06304/1.747, allocations: 36.54 MB / 0.9219 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4853/2.233, allocations: 40.78 MB / 0.9617 GB, free: 39.1 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01605/2.249, allocations: 6.195 MB / 0.9678 GB, free: 39.1 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01689/2.266, allocations: 7.89 MB / 0.9755 GB, free: 39.07 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.00863/2.275, allocations: 0.9942 MB / 0.9764 GB, free: 39.07 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/2.288, allocations: 2.022 MB / 0.9784 GB, free: 39.07 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02102/2.309, allocations: 9.956 MB / 0.9881 GB, free: 39.07 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01997/2.329, allocations: 5.93 MB / 0.9939 GB, free: 39.03 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0605/2.39, allocations: 47.64 MB / 1.04 GB, free: 22.34 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/2.39, allocations: 0 / 1.04 GB, free: 22.34 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.267e-06/2.39, allocations: 0 / 1.04 GB, free: 22.34 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.002426/2.393, allocations: 0 / 1.04 GB, free: 22.34 MB / 0.6232 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.09294/2.485, allocations: 26.87 MB / 1.067 GB, free: 1.895 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/2.486, allocations: 8.031 kB / 1.067 GB, free: 1.887 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05294/2.538, allocations: 9.523 MB / 1.076 GB, free: 9.238 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05862/2.597, allocations: 22.39 MB / 1.098 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002206/2.599, allocations: 1.592 MB / 1.099 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01497/2.614, allocations: 2.166 MB / 1.102 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1875/2.802, allocations: 60.01 MB / 1.16 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002829/2.805, allocations: 245.1 kB / 1.16 GB, free: 15.52 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01647/2.821, allocations: 0.9557 MB / 1.161 GB, free: 15.26 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01795/2.839, allocations: 8.433 MB / 1.17 GB, free: 8.805 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4743/3.314, allocations: 48.7 MB / 1.217 GB, free: 297.5 MB / 0.7325 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.4172/3.731, allocations: 246.1 MB / 1.457 GB, free: 136 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06773/3.799, allocations: 28.01 MB / 1.485 GB, free: 108 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003452/3.802, allocations: 2.599 MB / 1.487 GB, free: 105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06229/3.864, allocations: 21.29 MB / 1.508 GB, free: 83.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=788): time 1.956e-05/3.865, allocations: 4 kB / 1.508 GB, free: 83.77 MB / 0.7325 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed