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.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.07065/0.07065, allocations: 12.17 MB / 31.01 MB, free: 1.32 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108.8 kB / 37.24 MB, free: 3 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 212.4 kB / 43.59 MB, free: 5.395 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 280.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06412/0.06412, allocations: 13.89 MB / 353.7 MB, free: 4.141 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.03077/0.03077, allocations: 20.76 MB / 0.4985 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2585, allocations: 59.68 MB / 0.5568 GB, free: 424 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter controlModuleTest_fmu_inputs2_1.propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.06198/0.3205, allocations: 59.53 MB / 0.6149 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.3533, allocations: 17.58 MB / 0.6321 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009475/0.3628, allocations: 0.5714 MB / 0.6326 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0545/0.4173, allocations: 31.46 MB / 0.6633 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0186/0.4359, allocations: 8.206 MB / 0.6714 GB, free: 10.9 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0111/0.447, allocations: 6.052 MB / 0.6773 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.03714/0.4842, allocations: 29.03 MB / 0.7056 GB, free: 7.887 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2572/0.7414, allocations: 32.56 MB / 0.7374 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/0.7573, allocations: 13.86 MB / 0.751 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02074/0.778, allocations: 17.53 MB / 0.7681 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.00908/0.7871, allocations: 4.872 MB / 0.7728 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.7985, allocations: 6.395 MB / 0.7791 GB, free: 11.17 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01342/0.8119, allocations: 16.14 MB / 0.7948 GB, free: 80 kB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02755/0.8395, allocations: 18.9 MB / 0.8133 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07368/0.9132, allocations: 65.87 MB / 0.8776 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9132, allocations: 0 / 0.8776 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9132, allocations: 0 / 0.8776 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00125/0.9144, allocations: 0 / 0.8776 GB, free: 13.3 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7898 * Number of variables: 7898 Notification: Performance of Generate backend data structure: time 0.09387/1.008, allocations: 35.85 MB / 0.9126 GB, free: 9.633 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.008, allocations: 11.25 kB / 0.9126 GB, free: 9.625 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01258/1.021, allocations: 3.926 MB / 0.9165 GB, free: 5.766 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.039/1.06, allocations: 7.886 MB / 0.9242 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0512/1.111, allocations: 27.43 MB / 0.951 GB, free: 3.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001832/1.113, allocations: 1.795 MB / 0.9527 GB, free: 1.785 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4055/1.518, allocations: 2.434 MB / 0.9551 GB, free: 227 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1057/1.624, allocations: 59.63 MB / 1.013 GB, free: 189 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001305/1.625, allocations: 235.2 kB / 1.014 GB, free: 188.8 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00711/1.633, allocations: 1.042 MB / 1.015 GB, free: 187.9 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008232/1.641, allocations: 6.59 MB / 1.021 GB, free: 181.3 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08495/1.726, allocations: 50.1 MB / 1.07 GB, free: 131.2 MB / 0.6702 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.4991/2.225, allocations: 244.5 MB / 1.309 GB, free: 107.8 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05967/2.285, allocations: 28.09 MB / 1.336 GB, free: 99.95 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01774/2.302, allocations: 17.38 MB / 1.353 GB, free: 90.09 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/2.304, allocations: 0.6405 MB / 1.354 GB, free: 89.89 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05199/2.356, allocations: 21.42 MB / 1.375 GB, free: 76.33 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 1.26e-05/2.356, allocations: 0 / 1.375 GB, free: 76.33 MB / 0.6858 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.313085929024965] Failed to read output from testmodel.py, exit status != 0: 3.0183924650773406 3.027419979 2.111935668 Calling exit ...