Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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.09154/0.09154, allocations: 9.126 MB / 18.91 MB, free: 0.7344 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005536/0.09708, allocations: 3.418 MB / 22.32 MB, free: 3.805 MB / 24.77 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.000579/0.000579, allocations: 90.81 kB / 23.16 MB, free: 2.98 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008718/0.001451, allocations: 438.9 kB / 23.59 MB, free: 2.551 MB / 24.77 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.0006788/0.0006788, allocations: 152.9 kB / 24.47 MB, free: 1.672 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008712/0.00155, allocations: 475.1 kB / 24.94 MB, free: 1.207 MB / 24.77 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 0.8961/0.8961, allocations: 177.1 MB / 202.8 MB, free: 8.379 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.048, allocations: 53.67 MB / 256.5 MB, free: 5.402 MB / 250.7 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.06867/0.06867, allocations: 10.58 MB / 267.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006435/0.0751, allocations: 3.722 MB / 271.5 MB, free: 6.688 MB / 266.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_Dymola",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 272.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.597e-05, allocations: 2.312 kB / 272.7 MB, free: 5.48 MB / 266.7 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_inputs1.propellerRev.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_inputs1.propellerRev.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_inputs1.propellerRev3.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_inputs1.propellerRev3.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_inputs1.propellerRev1.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_inputs1.propellerRev1.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_inputs1.propellerRev2.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_inputs1.propellerRev2.bodyShape5.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.Examples.Visualize.ModuleTest_Dymola): time 0.0391/0.03911, allocations: 52.19 MB / 324.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.07358, allocations: 16.98 MB / 341.9 MB, free: 40 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.2709/0.3445, allocations: 0.5438 MB / 342.4 MB, free: 1.922 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02586/0.3704, allocations: 24.58 MB / 367 MB, free: 1.426 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01661/0.387, allocations: 8.625 MB / 375.6 MB, free: 14.28 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008727/0.3957, allocations: 6.098 MB / 381.7 MB, free: 12.95 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03923/0.4349, allocations: 32.58 MB / 414.3 MB, free: 0.7227 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03784/0.4728, allocations: 28.96 MB / 443.3 MB, free: 4.645 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03442/0.5072, allocations: 20.91 MB / 464.2 MB, free: 0.6797 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02234/0.5295, allocations: 16.08 MB / 480.3 MB, free: 1.66 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009748/0.5393, allocations: 4.02 MB / 484.3 MB, free: 13.64 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.5521, allocations: 6.059 MB / 490.3 MB, free: 7.68 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01686/0.5689, allocations: 13.65 MB / 0.4922 GB, free: 10.13 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02312/0.592, allocations: 8.757 MB / 0.5007 GB, free: 1.355 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.1958/0.7878, allocations: 28.26 MB / 0.5283 GB, free: 72.41 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.927e-05/0.7879, allocations: 0 / 0.5283 GB, free: 72.41 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7879, allocations: 1 kB / 0.5283 GB, free: 72.41 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001966/0.7898, allocations: 0 / 0.5283 GB, free: 72.41 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7666 * Number of variables: 7666 Notification: Performance of Generate backend data structure: time 0.06186/0.8517, allocations: 30.52 MB / 0.5581 GB, free: 60.31 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8517, allocations: 12.28 kB / 0.5581 GB, free: 60.31 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01194/0.8637, allocations: 3.667 MB / 0.5617 GB, free: 60.08 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.8811, allocations: 4.972 MB / 0.5666 GB, free: 59.47 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02318/0.9043, allocations: 14.88 MB / 0.5811 GB, free: 51.57 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/0.9055, allocations: 1.6 MB / 0.5827 GB, free: 50.94 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007157/0.9126, allocations: 2.166 MB / 0.5848 GB, free: 50.3 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05992/0.9725, allocations: 25.96 MB / 0.6101 GB, free: 30.34 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009952/0.9735, allocations: 230.6 kB / 0.6104 GB, free: 30.21 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005004/0.9785, allocations: 0.9586 MB / 0.6113 GB, free: 29.36 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005076/0.9836, allocations: 6.901 MB / 0.618 GB, free: 22.55 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03541/1.019, allocations: 12.07 MB / 0.6298 GB, free: 11.39 MB / 458.8 MB 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.3443/1.363, allocations: 169.3 MB / 0.7952 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03054/1.394, allocations: 19.75 MB / 0.8145 GB, free: 69.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005562/1.399, allocations: 2.73 MB / 0.8171 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/1.401, allocations: 1.071 MB / 0.8182 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02265/1.423, allocations: 9.735 MB / 0.8277 GB, free: 68.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=784): time 1.171e-05/1.423, allocations: 0 / 0.8277 GB, free: 68.97 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.1651449520140886]