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.08359/0.08359, allocations: 12.18 MB / 31.01 MB, free: 1.285 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.001388/0.001388, allocations: 113 kB / 37.24 MB, free: 3.043 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.001922/0.001922, allocations: 204.3 kB / 43.58 MB, free: 5.438 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.699/1.699, allocations: 230.6 MB / 280.3 MB, free: 7.91 MB / 206.1 MB " [Timeout remaining time 178] 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.06591/0.06591, allocations: 13.9 MB / 353.7 MB, free: 4.047 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.04003/0.04003, allocations: 20.76 MB / 0.4985 GB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4637, allocations: 59.67 MB / 0.5568 GB, free: 280 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.07325/0.5369, allocations: 59.54 MB / 0.6149 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05156/0.5885, allocations: 17.57 MB / 0.6321 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01964/0.6081, allocations: 0.5714 MB / 0.6326 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06398/0.6721, allocations: 31.46 MB / 0.6633 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02824/0.7004, allocations: 8.2 MB / 0.6713 GB, free: 10.76 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.01795/0.7183, allocations: 6.06 MB / 0.6773 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.05457/0.7729, allocations: 29.02 MB / 0.7056 GB, free: 7.738 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5762/1.349, allocations: 32.56 MB / 0.7374 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03823/1.387, allocations: 13.87 MB / 0.751 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03643/1.424, allocations: 17.53 MB / 0.7681 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.02007/1.444, allocations: 4.871 MB / 0.7728 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0254/1.469, allocations: 6.395 MB / 0.7791 GB, free: 11.03 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.03257/1.502, allocations: 16.14 MB / 0.7948 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0557/1.558, allocations: 18.9 MB / 0.8133 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.1079/1.665, allocations: 65.87 MB / 0.8776 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/1.665, allocations: 0 / 0.8776 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/1.665, allocations: 0 / 0.8776 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.002678/1.668, allocations: 0 / 0.8776 GB, free: 13.11 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.1551/1.823, allocations: 35.84 MB / 0.9126 GB, free: 9.449 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.823, allocations: 12.62 kB / 0.9126 GB, free: 9.438 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02368/1.847, allocations: 3.931 MB / 0.9165 GB, free: 5.578 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05314/1.9, allocations: 7.889 MB / 0.9242 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07044/1.971, allocations: 27.43 MB / 0.951 GB, free: 3.312 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002469/1.973, allocations: 1.785 MB / 0.9527 GB, free: 1.605 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.7599/2.733, allocations: 2.438 MB / 0.9551 GB, free: 227 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1702/2.903, allocations: 59.63 MB / 1.013 GB, free: 188.8 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002433/2.906, allocations: 234.9 kB / 1.014 GB, free: 188.6 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01333/2.919, allocations: 1.046 MB / 1.015 GB, free: 187.6 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01028/2.929, allocations: 6.589 MB / 1.021 GB, free: 181.1 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1072/3.036, allocations: 50.1 MB / 1.07 GB, free: 131 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.816/3.852, allocations: 244.5 MB / 1.309 GB, free: 107.4 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07425/3.927, allocations: 28.1 MB / 1.336 GB, free: 99.6 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02536/3.952, allocations: 17.39 MB / 1.353 GB, free: 89.74 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002225/3.954, allocations: 0.6362 MB / 1.354 GB, free: 89.54 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06309/4.017, allocations: 21.41 MB / 1.375 GB, free: 76.19 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.613e-05/4.017, allocations: 4 kB / 1.375 GB, free: 76.19 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 655] [Calling sys.exit(0), Time elapsed: 7.907587715999398] Failed to read output from testmodel.py, exit status != 0: 4.928618354002538 4.949307545 3.279427971 Calling exit ...