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.08288/0.08288, allocations: 12.18 MB / 31.81 MB, free: 1.453 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.001312/0.001312, allocations: 114.7 kB / 38.02 MB, free: 2.891 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.001535/0.001535, allocations: 216.3 kB / 44.36 MB, free: 5.293 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.527/1.527, allocations: 230.6 MB / 281.1 MB, free: 8.84 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.06543/0.06543, allocations: 13.89 MB / 354.5 MB, free: 3.957 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="cs",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.06876/0.06876, allocations: 20.58 MB / 0.499 GB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.375, allocations: 59.67 MB / 0.5573 GB, free: 312 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.0651/0.4401, allocations: 50.14 MB / 0.6062 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04296/0.4831, allocations: 17.21 MB / 0.623 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01556/0.4986, allocations: 0.574 MB / 0.6236 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05915/0.5578, allocations: 29.99 MB / 0.6529 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02386/0.5816, allocations: 8.22 MB / 0.6609 GB, free: 6.035 MB / 478.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.01428/0.5959, allocations: 6.078 MB / 0.6668 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0487/0.6446, allocations: 29.02 MB / 0.6952 GB, free: 3.004 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3399/0.9845, allocations: 32.55 MB / 0.727 GB, free: 18.38 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02232/1.007, allocations: 13.87 MB / 0.7405 GB, free: 17.99 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02533/1.032, allocations: 17.53 MB / 0.7576 GB, free: 16.76 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01247/1.045, allocations: 4.872 MB / 0.7624 GB, free: 16.76 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01534/1.06, allocations: 6.253 MB / 0.7685 GB, free: 16.76 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.021/1.081, allocations: 16.13 MB / 0.7843 GB, free: 11.09 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.03016/1.111, allocations: 13.94 MB / 0.7979 GB, free: 1.727 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.08588/1.197, allocations: 66.2 MB / 0.8625 GB, free: 3.121 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.197, allocations: 0 / 0.8625 GB, free: 3.121 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.404e-06/1.197, allocations: 0 / 0.8625 GB, free: 3.121 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002218/1.199, allocations: 2.406 kB / 0.8625 GB, free: 3.121 MB / 0.5763 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.1186/1.318, allocations: 35.84 MB / 0.8975 GB, free: 15.45 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/1.318, allocations: 12.92 kB / 0.8975 GB, free: 15.44 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0009162/1.319, allocations: 0.6733 MB / 0.8982 GB, free: 14.77 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01906/1.338, allocations: 3.932 MB / 0.902 GB, free: 10.9 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04469/1.383, allocations: 7.892 MB / 0.9097 GB, free: 3.043 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05883/1.441, allocations: 27.45 MB / 0.9365 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002422/1.444, allocations: 1.796 MB / 0.9383 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01351/1.457, allocations: 2.44 MB / 0.9407 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6734/2.131, allocations: 59.83 MB / 0.9991 GB, free: 202.8 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002087/2.133, allocations: 234.5 kB / 0.9993 GB, free: 202.7 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01134/2.144, allocations: 1.046 MB / 1 GB, free: 202 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00972/2.154, allocations: 6.592 MB / 1.007 GB, free: 199.3 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09602/2.25, allocations: 50.1 MB / 1.056 GB, free: 149.4 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.6754/2.925, allocations: 225.5 MB / 1.276 GB, free: 116.5 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06712/2.992, allocations: 28.05 MB / 1.303 GB, free: 115 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02365/3.016, allocations: 17.4 MB / 1.32 GB, free: 106.7 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/3.018, allocations: 0.586 MB / 1.321 GB, free: 106.6 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06028/3.078, allocations: 21.42 MB / 1.342 GB, free: 95.96 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.315e-05/3.078, allocations: 0 / 1.342 GB, free: 95.96 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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.529419478960335] Failed to read output from testmodel.py, exit status != 0: 3.927328048972413 3.937955784 2.737784348 Calling exit ...