Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) 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_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.07563/0.07563, allocations: 12.03 MB / 27.53 MB, free: 1.383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001133, allocations: 112.7 kB / 31.24 MB, free: 4.578 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 196.4 kB / 35.07 MB, free: 0.7617 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 261.6 MB, free: 44 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06284/0.06284, allocations: 13.68 MB / 328.4 MB, free: 3.73 MB / 254.1 MB 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.02896/0.02896, allocations: 19.59 MB / 415.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1596, allocations: 55.42 MB / 471.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.3226/0.4822, allocations: 60.59 MB / 0.5193 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03873/0.521, allocations: 16.27 MB / 0.5352 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01839/0.5394, allocations: 0.4957 MB / 0.5357 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05267/0.5922, allocations: 31.11 MB / 0.5661 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02973/0.622, allocations: 7.84 MB / 0.5737 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01473/0.6368, allocations: 5.357 MB / 0.579 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04136/0.6781, allocations: 26.76 MB / 0.6051 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06747/0.7457, allocations: 43.95 MB / 0.648 GB, free: 6.664 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02539/0.7711, allocations: 12.92 MB / 0.6606 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02476/0.7959, allocations: 16.04 MB / 0.6763 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01269/0.8086, allocations: 4.062 MB / 0.6803 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0193/0.828, allocations: 5.381 MB / 0.6855 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02293/0.851, allocations: 14.88 MB / 0.7 GB, free: 2.883 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.3836/1.235, allocations: 17.31 MB / 0.717 GB, free: 60.99 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.08939/1.324, allocations: 58.14 MB / 0.7737 GB, free: 43.17 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.324, allocations: 2.906 kB / 0.7737 GB, free: 43.17 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.314e-06/1.324, allocations: 0 / 0.7737 GB, free: 43.17 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002484/1.327, allocations: 0 / 0.7737 GB, free: 43.17 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.1357/1.462, allocations: 34.1 MB / 0.807 GB, free: 20.65 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.462, allocations: 9.531 kB / 0.807 GB, free: 20.65 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02427/1.487, allocations: 4.549 MB / 0.8115 GB, free: 17.95 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04768/1.534, allocations: 7.711 MB / 0.819 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05778/1.592, allocations: 25.06 MB / 0.8435 GB, free: 7.734 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002462/1.595, allocations: 1.794 MB / 0.8452 GB, free: 6.023 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0139/1.609, allocations: 2.448 MB / 0.8476 GB, free: 3.66 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1872/1.796, allocations: 57.06 MB / 0.9034 GB, free: 9.023 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00253/1.798, allocations: 237.7 kB / 0.9036 GB, free: 8.855 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01468/1.813, allocations: 1.052 MB / 0.9046 GB, free: 7.891 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01827/1.831, allocations: 6.486 MB / 0.9109 GB, free: 1.488 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4849/2.316, allocations: 47.22 MB / 0.9571 GB, free: 172.4 MB / 0.5763 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.7715/3.088, allocations: 225.8 MB / 1.178 GB, free: 72.29 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07125/3.159, allocations: 27.67 MB / 1.205 GB, free: 71.19 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0237/3.183, allocations: 16.71 MB / 1.221 GB, free: 71.09 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/3.185, allocations: 1.302 MB / 1.222 GB, free: 70.22 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06401/3.249, allocations: 20.33 MB / 1.242 GB, free: 66.22 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=891): time 2.948e-05/3.249, allocations: 0 / 1.242 GB, free: 66.22 MB / 0.5763 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed