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-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06674/0.06674, allocations: 12.18 MB / 28.52 MB, free: 1.062 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108 kB / 34.39 MB, free: 2.199 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 198.7 kB / 40.37 MB, free: 4.457 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.6 MB / 271.8 MB, free: 4.723 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.06621/0.06621, allocations: 13.89 MB / 343.6 MB, free: 0.7852 MB / 254.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.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-master/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: 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.04268/0.04268, allocations: 20.57 MB / 496 MB, free: 25.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1868, allocations: 58.43 MB / 0.5415 GB, free: 14.79 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.4685/0.6553, allocations: 61.09 MB / 0.6011 GB, free: 17.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05068/0.706, allocations: 17.88 MB / 0.6186 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02129/0.7273, allocations: 0.4975 MB / 0.6191 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05549/0.7828, allocations: 31.48 MB / 0.6498 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03239/0.8152, allocations: 8.33 MB / 0.6579 GB, free: 2.746 MB / 446.1 MB [/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.01864/0.8338, allocations: 6 MB / 0.6638 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.05295/0.8868, allocations: 28.44 MB / 0.6916 GB, free: 384 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0807/0.9675, allocations: 36.94 MB / 0.7276 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03311/1.001, allocations: 13.8 MB / 0.7411 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03582/1.036, allocations: 17.59 MB / 0.7583 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01652/1.053, allocations: 4.891 MB / 0.7631 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02297/1.076, allocations: 6.396 MB / 0.7693 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03125/1.107, allocations: 16.25 MB / 0.7852 GB, free: 0.6836 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.04627/1.153, allocations: 18.88 MB / 0.8036 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.8769/2.03, allocations: 66.5 MB / 0.8686 GB, free: 95.36 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/2.03, allocations: 3.875 kB / 0.8686 GB, free: 95.36 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.543e-06/2.03, allocations: 1.5 kB / 0.8686 GB, free: 95.36 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002922/2.033, allocations: 0 / 0.8686 GB, free: 95.36 MB / 0.592 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.1444/2.178, allocations: 35.61 MB / 0.9033 GB, free: 73 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/2.178, allocations: 10.5 kB / 0.9033 GB, free: 73 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02661/2.204, allocations: 3.974 MB / 0.9072 GB, free: 70.35 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05009/2.254, allocations: 8.024 MB / 0.9151 GB, free: 66.27 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06738/2.322, allocations: 28.87 MB / 0.9433 GB, free: 45.2 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001685/2.323, allocations: 1.804 MB / 0.945 GB, free: 43.48 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01675/2.34, allocations: 2.449 MB / 0.9474 GB, free: 41.12 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1675/2.508, allocations: 60.54 MB / 1.007 GB, free: 11 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002159/2.51, allocations: 234 kB / 1.007 GB, free: 10.84 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01777/2.528, allocations: 1.053 MB / 1.008 GB, free: 9.879 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0157/2.543, allocations: 6.891 MB / 1.015 GB, free: 3.078 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1406/2.684, allocations: 50.86 MB / 1.064 GB, free: 0.8398 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.8081/3.492, allocations: 246.8 MB / 1.305 GB, free: 7.195 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4377/3.93, allocations: 28.47 MB / 1.333 GB, free: 211.3 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02835/3.958, allocations: 17.29 MB / 1.35 GB, free: 210.9 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/3.96, allocations: 1.305 MB / 1.351 GB, free: 210 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06353/4.024, allocations: 21.37 MB / 1.372 GB, free: 204.4 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 4.035e-05/4.024, allocations: 0 / 1.372 GB, free: 204.4 MB / 0.6858 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 7.878531266003847] Failed to read output from testmodel.py, exit status != 0: 4.5591662670485675 4.801439598 2.5348901440000002 Calling exit ...