Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main.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.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08127/0.08127, allocations: 12.04 MB / 27.65 MB, free: 1.547 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.001047/0.001047, allocations: 98.7 kB / 31.37 MB, free: 4.902 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.002231/0.002231, allocations: 176.5 kB / 35.21 MB, free: 1.074 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.683/1.683, allocations: 223.2 MB / 262.1 MB, free: 9.426 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06022/0.06022, allocations: 13.7 MB / 329.9 MB, free: 420 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.01989/0.01989, allocations: 17.45 MB / 415.6 MB, free: 28.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1686, allocations: 56.49 MB / 472.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 1.237/1.406, allocations: 376.3 MB / 0.8285 GB, free: 7.992 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2575/1.663, allocations: 82.85 MB / 0.9094 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1448/1.808, allocations: 1.804 MB / 0.9112 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0798/1.888, allocations: 17.74 MB / 0.9285 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.8333/2.722, allocations: 49.92 MB / 0.9772 GB, free: 12.78 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.02978/2.751, allocations: 4.2 MB / 0.9813 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.08966/2.841, allocations: 60.1 MB / 1.04 GB, free: 10.12 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1047/2.946, allocations: 51 MB / 1.09 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02234/2.968, allocations: 7.99 MB / 1.098 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02746/2.996, allocations: 12.15 MB / 1.109 GB, free: 5.977 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.009296/3.005, allocations: 1.09 MB / 1.111 GB, free: 4.887 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/3.02, allocations: 2.319 MB / 1.113 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0276/3.048, allocations: 11.2 MB / 1.124 GB, free: 9.66 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.02063/3.068, allocations: 6.411 MB / 1.13 GB, free: 6.945 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.07367/3.142, allocations: 54.79 MB / 1.184 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/3.142, allocations: 0 / 1.184 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.729e-06/3.142, allocations: 0 / 1.184 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002454/3.145, allocations: 0.6562 kB / 1.184 GB, free: 8.613 MB / 0.7325 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.844/3.989, allocations: 27.72 MB / 1.211 GB, free: 356.2 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/3.989, allocations: 8.812 kB / 1.211 GB, free: 356.2 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03492/4.024, allocations: 5.972 MB / 1.216 GB, free: 354.6 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06546/4.089, allocations: 23.53 MB / 1.239 GB, free: 351.7 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003514/4.093, allocations: 1.799 MB / 1.241 GB, free: 351.7 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0189/4.112, allocations: 2.45 MB / 1.244 GB, free: 351.6 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1745/4.286, allocations: 60.6 MB / 1.303 GB, free: 302.7 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00201/4.288, allocations: 239.2 kB / 1.303 GB, free: 302.5 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01514/4.303, allocations: 1.053 MB / 1.304 GB, free: 301.5 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01073/4.314, allocations: 6.899 MB / 1.311 GB, free: 294.7 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1186/4.433, allocations: 51.01 MB / 1.361 GB, free: 243.7 MB / 0.7483 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.9127/5.346, allocations: 248.1 MB / 1.603 GB, free: 266.8 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07553/5.421, allocations: 29.44 MB / 1.632 GB, free: 265.8 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02569/5.447, allocations: 18.18 MB / 1.649 GB, free: 265.7 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/5.449, allocations: 1.303 MB / 1.651 GB, free: 264.8 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06065/5.51, allocations: 21.54 MB / 1.672 GB, free: 264.5 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 2.442e-05/5.51, allocations: 0 / 1.672 GB, free: 264.5 MB / 0.7483 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_inputs2_1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs2_1.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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed