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.08976/0.08976, allocations: 12.03 MB / 27.53 MB, free: 1.961 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.001192/0.001191, allocations: 107.7 kB / 31.24 MB, free: 5.062 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.001556/0.001556, allocations: 192.4 kB / 35.07 MB, free: 1.246 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.475/1.475, allocations: 222.9 MB / 261.6 MB, free: 12 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06048/0.06048, allocations: 13.68 MB / 328.4 MB, free: 1.102 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.02797/0.02797, allocations: 19.62 MB / 415.8 MB, free: 25.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1667, allocations: 55.42 MB / 471.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.3919/0.5586, allocations: 60.59 MB / 0.5193 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04125/0.5999, allocations: 16.27 MB / 0.5352 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02278/0.6227, allocations: 0.4942 MB / 0.5357 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04955/0.6724, allocations: 31.12 MB / 0.5661 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02748/0.6999, allocations: 7.832 MB / 0.5738 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.7131, allocations: 5.359 MB / 0.579 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04673/0.7599, allocations: 26.75 MB / 0.6051 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07728/0.8372, allocations: 43.95 MB / 0.648 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02896/0.8662, allocations: 12.92 MB / 0.6607 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02657/0.8928, allocations: 16.04 MB / 0.6763 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01393/0.9068, allocations: 4.059 MB / 0.6803 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02184/0.9287, allocations: 5.381 MB / 0.6855 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02648/0.9552, allocations: 14.88 MB / 0.7001 GB, free: 2.898 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.4202/1.375, allocations: 17.31 MB / 0.717 GB, free: 61.8 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.08921/1.465, allocations: 58.14 MB / 0.7738 GB, free: 43.74 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/1.465, allocations: 0 / 0.7738 GB, free: 43.74 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.623e-06/1.465, allocations: 0 / 0.7738 GB, free: 43.74 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002654/1.467, allocations: 0 / 0.7738 GB, free: 43.74 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.1361/1.604, allocations: 34.1 MB / 0.8071 GB, free: 21.23 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 7.06e-05/1.604, allocations: 9.562 kB / 0.8071 GB, free: 21.23 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0289/1.633, allocations: 4.553 MB / 0.8115 GB, free: 18.52 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05062/1.683, allocations: 7.708 MB / 0.819 GB, free: 14.71 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0538/1.737, allocations: 25.06 MB / 0.8435 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002457/1.74, allocations: 1.798 MB / 0.8453 GB, free: 6.121 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01463/1.754, allocations: 2.449 MB / 0.8477 GB, free: 3.762 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1736/1.928, allocations: 57.05 MB / 0.9034 GB, free: 9.125 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002616/1.931, allocations: 231.8 kB / 0.9036 GB, free: 8.965 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01442/1.945, allocations: 1.051 MB / 0.9046 GB, free: 8 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0131/1.958, allocations: 6.498 MB / 0.911 GB, free: 1.59 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4306/2.389, allocations: 47.22 MB / 0.9571 GB, free: 173.1 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.7892/3.178, allocations: 225.8 MB / 1.178 GB, free: 73.73 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07053/3.249, allocations: 27.66 MB / 1.205 GB, free: 72.64 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02246/3.271, allocations: 16.72 MB / 1.221 GB, free: 72.53 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/3.273, allocations: 1.295 MB / 1.222 GB, free: 71.66 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06365/3.337, allocations: 20.34 MB / 1.242 GB, free: 66.48 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=891): time 2.693e-05/3.337, allocations: 0 / 1.242 GB, free: 66.48 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